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 problem with servlet listeners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

problem with servlet listeners

Gorby Green

Joined: Nov 23, 2002
Posts: 12
I have some problem with servlet listerner.
When a user exit I want to save the user object stored in HTTPSession.
And I have read that sessionDestroyed is called when the session realy is destroyed.
But i want to save the context in user object just before session is destroyed.

Is there any chance to do that with servlet listeners?
Thanks in advance!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63211

Please do not cross-post the same question in more than one forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: problem with servlet listeners
It's not a secret anymore!