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.

[209 byte] By [gyan_softa] at [2007-11-27 10:48:33]
# 1

Use cookies.

BalusCa at 2007-7-28 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

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

radicjesa at 2007-7-28 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

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

BalusCa at 2007-7-28 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...