Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
How Do I know when a session times out--cleanup?
Max Tomlinson
Ranch Hand
Posts: 365
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Using
servlet
2.2 (Websphere 4) I need to detect when a user session dies so I can clean up resources (a lock table entry in this case)...
Do I use a session listener? Can I somehow override the finalize emthod in the session?
thanks,
Max Tomlinson
Nick Faiz
Greenhorn
Posts: 11
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Max,
See if javax.servlet.http.HttpSessionBindingListener is what you want.
[ December 04, 2002: Message edited by: Nick_F ]
Asher Tarnopolski
Ranch Hand
Posts: 260
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you can also use HttpSessionActivationListener with its sessionWillPassivate...
Asher Tarnopolski
SCJP,SCWCD
She'll be back. I'm just gonna wait here. With this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
select a row
Session handling
Session
Cannot Find Bean in Scope Request
How to know the sessionID is alive ?
More...