| Author |
How to make my login page rember username and password.
|
smitha rajgopal
Greenhorn
Joined: Sep 22, 2005
Posts: 14
|
|
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. Thanks
|
 |
ganesh pol
Ranch Hand
Joined: Apr 29, 2005
Posts: 151
|
|
|
use cookies
|
 |
Raghavendra nandavar
Ranch Hand
Joined: Jun 26, 2005
Posts: 231
|
|
Originally posted by ganesh pol: use cookies
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 ]
|
 |
 |
|
|
subject: How to make my login page rember username and password.
|
|
|