This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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

 
 
subject: Trapping the Session Invalidate / Timeout Events
 
Similar Threads
how does the servlet knows that the client has closed the browser
Session
Session Management in Spring
Session Question -- Global Sessions????
sessions