RE: Session Expirey hooks
"Andrew Rendle" <[email protected]> Thu, 22 Jan 2004 14:10:28 -0000
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi James I don’t know exactly how you would do it with barracuda but this is how I do it * When the object is added to or removed from a session. To receive this notification, your object must implement the javax.http.HttpSessionBindingListener <http://java.sun.com/j2ee/tutorial/api/javax/servlet/http/HttpSessionBindingListener.html> interface. * When the session to which the object is attached will be passivated or activated. A session will be passivated or activated when it is moved between virtual machines or saved to and restored from persistent storage. To receive this notification, your object must implement the javax.http.HttpSessionActivationListener <http://java.sun.com/j2ee/tutorial/api/javax/servlet/http/HttpSessionActivationListener.html> interface. regards Andrew Rendle www.tqs2.com <http://www.tqs2.com/> -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of James Carnegie Sent: 22 January 2004 13:33 To: Enhydra-Dev-List; [email protected] Subject: [Barracuda] Session Expirey hooks Hi All, I am writing a Barracuda web-app under Enhydra 5.1. When a user session is timed out by Enhydra, is it possible to be notified somehow so that we can do some cleaning up? Kind regards, James.