A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
How Do I know when a session times out--cleanup?
Joined: Jul 17, 2001
Dec 04, 2002 12:59:00
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?
Joined: Oct 12, 2002
Dec 04, 2002 13:41:00
is what you want.
[ December 04, 2002: Message edited by: Nick_F ]
Joined: Jul 28, 2001
Dec 05, 2002 02:28:00
you can also use
with its sessionWillPassivate...
I agree. Here's the link:
subject: How Do I know when a session times out--cleanup?
select a row
Cannot Find Bean in Scope Request
How to know the sessionID is alive ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015