Results 1 to 2 of 2
  1. #1
    lukky is offline Member
    Join Date
    Jul 2008
    Rep Power

    Default How to write the login application using cookies

    when the user enter with his details,it'll check for valid details are not.after that he logged in,then that details means user name and password are saved as requirement is when the user closes the browser and not logged out then he again opens the same application he logged into that application,that means the page with his details is opened.
    please reply me as soon as possible.
    thank you

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    Cookies are used to save the state of the communications with a client. You need to put enough data in the cookie that you know how the user has progressed in the communications.
    You would save the user's details on the server and when the user logs in again, look at the cookie he sent and know what info you can send the user.

Similar Threads

  1. Replies: 5
    Last Post: 06-07-2014, 06:39 PM
  2. Replies: 3
    Last Post: 12-12-2008, 01:12 PM
  3. cookies
    By lukky in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 09-02-2008, 08:46 PM
  4. Replies: 0
    Last Post: 06-25-2008, 01:41 PM
  5. JSP cookies example
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-15-2008, 04:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts