File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes HttpSessionListener beforeSessionDestroyed 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 "HttpSessionListener beforeSessionDestroyed" Watch "HttpSessionListener beforeSessionDestroyed" New topic
Author

HttpSessionListener beforeSessionDestroyed

Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
actually, it's sessionDestroyed method. I need beforeSessionDestroyed.
Considering:

(pseudocode)
Creating a list.
Adding said list to the application scope in a context listener.

Do I really have to do all that? It seems like too much effort to achieve basic functionality. Is there another way? If not, should I go all-out and extend HttpSessionListener, providing my own functionality?
[ December 11, 2002: Message edited by: Garrett Smith ]

comp.lang.javascript FAQ: http://jibbering.com/faq/
Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
This is what I really needed:



NB: I don't like smilies because they screw up code samples.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpSessionListener beforeSessionDestroyed
 
Similar Threads
Not recieving sessionDestroyed on Browser close
session
HttpSessionListener custom methodsin HFSJ page 259
sessionDestroyed does not get HttpSession
sessionDestroyed works, but not sessionCreated