File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSessionListener beforeSessionDestroyed" Watch "HttpSessionListener beforeSessionDestroyed" New topic

HttpSessionListener beforeSessionDestroyed

Garrett Smith
Ranch Hand

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

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:
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:
subject: HttpSessionListener beforeSessionDestroyed
It's not a secret anymore!