A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
subject: time out
Session timeouts and listeners....
Alert before session ends...
Alert user before session timeout
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014