This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Websphere and the fly likes Session Timeout Notification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Session Timeout Notification" Watch "Session Timeout Notification" New topic
Author

Session Timeout Notification

Matthew Marquand
Ranch Hand

Joined: Dec 19, 2002
Posts: 32
Is there anyway to get WebSphere to invoke a method on a listener or something of that nature when a session is being "timed out"?
My issue is that I wish to run through a bit of logic at the "end" of a user's session even if the user closes the browser, goes on vacation, etc.
Regards,
Matthew Marquand
Object Ovation, Inc.
Matthew Marquand
Ranch Hand

Joined: Dec 19, 2002
Posts: 32
I'll post my own reply.
I plugged into the HttpSessionBindingListener framework that is supported by objects registered with the HttpSession.
Regards,
Matthew Marquand
Object Ovation, Inc.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Session Timeout Notification
 
It's not a secret anymore!