| Author |
Expire
|
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Hi All, Can you please tell me how to expire a session after a fixed interval of time.(i.e if the browser is inactive for some time - say, 5 mins) Once the session expires, and if user tries to access the page, then he is prompted for login again, am i right? Please tell me how to solve this problem. Thanks & Regards, seetharaman  [ March 28, 2008: Message edited by: Bear Bibeault ]
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
You can set the session timeout in your web.xml: The value is in minutes. 0 or less means that the session will never expire.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Thanks Christophe Verre.......
|
 |
 |
|
|
subject: Expire
|
|
|