A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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...
Session timeouts and listeners....
Alert user before session timeout
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014