how to implement "Remember Login " in jsp
Hi everyone,
i want to implement remember Login for login page using java / jsp / struts / javascript.
please, anyone suggest me some way for its implementation.
Thanx in advance.
Hi everyone,
i want to implement remember Login for login page using java / jsp / struts / javascript.
please, anyone suggest me some way for its implementation.
Thanx in advance.
Use cookies.
Sessions
cookies can be altered on the clients pc making them less reliable and less secure, if there is no data that is valuable you can better store it as a cookie though
And if the session expires, how would you to remember the login? Independent of the PC used.
In the cookie you can just store an unique key which is harder to hack than passwords.
This article might be interesting tho: http://balusc.xs4all.nl/srv/dev-jep-usf.html