Look at HttpSessionListener here:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/

Prefix off topic posts with [OT] in the future.

Dave






From: "Andy Kriger" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: responding to session timeouts
Date: Wed, 8 Jan 2003 18:00:22 -0500

This isn't a Struts-specific question, but i'm figuring someone here might
know the answer...

Is there a way to know when a session times-out and respond to that? (like
an event being fired or and having a servlet acting as a listener) There's
some cleanup that I need to do in the case that a user does not complete
their transaction (e.g. they shut their browser down leaving the system
state incomplete). In this case, I'd like to have a background object
(servlet, thread, whatever) do some cleaning up when the session times-out.

Any ideas?

thx
andy



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to