How to make my login page rember username and password.
Joined: Sep 22, 2005
Hello, I need to do a jsp page with login ,password text field and two check box 1.remember password 2.remember username. How can i do this?Please help.
Joined: Apr 29, 2005
Joined: Jun 26, 2005
There are many different ways you could implement this. In most methods, you'll set a cookie on the user's machine, and store the same value in the database. When the user returns to the site, you can check to see if the cookie exists. If it does, you can retrieve the user's information from the database based on the cookie value. Simpler systems where security is not an issue may store the user's primary key ID. More complex systems with heavier security requirements may assign a UniqueID value, created with the CreateUUID function
Hope this gives a raw idea to implement the same [ April 04, 2006: Message edited by: Raghavendra nandavar ]