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 Servlets and the fly likes Problems with HttpSessionBindingListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Problems with HttpSessionBindingListener" Watch "Problems with HttpSessionBindingListener" New topic
Author

Problems with HttpSessionBindingListener

Amit Manurkar
Greenhorn

Joined: Apr 03, 2003
Posts: 11
I am trying to use "HttpSessionBindingListener" to keep track of the users who do not logout properly. For this in the "valueUnbound" event I want to check for a particular session variable (attribute).
But when I try to call the "getAttribute" method of session object (Session object I've retrieved from getSession() method of HttpSessionBindingEvent), it throws an exception that session is already invalidated.
Is it a normal behavior? or there is something wrong with my Tomcat (I m using Tomcat 4.1)
An early reply would be appreciated.


Amit Manurkar
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Problems with HttpSessionBindingListener
 
It's not a secret anymore!