jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes Trapping the Session Invalidate / Timeout Events Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Trapping the Session Invalidate / Timeout Events" Watch "Trapping the Session Invalidate / Timeout Events" New topic
Author

Trapping the Session Invalidate / Timeout Events

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Friends,
I am sure many must have come across this situation. I am developing an servlet based app where I add to a hash table a list of users who are presently logged in . The list can be easily maintained when the user initally logs in and decently logs out . But how shall i come to know that a particular users
session has been timed out. Any suggestions or workarounds to this problem is welcome.
Thanks

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Trapping the Session Invalidate / Timeout Events
 
Similar Threads
how does the servlet knows that the client has closed the browser
Session Question -- Global Sessions????
Session
Session Management in Spring
sessions