A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 15, 2004
Oct 27, 2004 03:40:00
what are possible ways to time out a user session (http session)
in what way can we invalidate a session,if I use
API to invalide,i understand that user session gets killed even before the session time out or even before user closes his browser.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Oct 27, 2004 06:49:00
The servlet container will automatically time-out sessions according to the default time delay (in web.xml) OR a value you set on the individual session.
You can invalidate a session at any time with the invalidate() method.
I agree. Here's the link:
subject: time out
Alert before session ends...
Alert user before session timeout
Session timeouts and listeners....
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015