> > You might be able to use HttpSessionAttributeListener ...or HttpSessionBindingListener. The container calls the valueUnbound(HttpSessionBindingEvent event) when the object is removed from the session (e.g. when session is destroyed). I am using this one =)
- Tatu V. > Peter Maas wrote: > > > What I actually want to do is call some destruct methods in objects > > bound to the session... > > > > P > > > > Christopher Schultz wrote: > > > >> Peter, > >> > >>> I wondered if there is a way detect somehting like a > >>> 'sessionWillBeDestroyed' event. > >>> since the sessionDestroyed method in a sessionListener seems to be > >>> called after the session was destroyed. > >> > >> > >> > >> I don't think you can 'veto' the destruction of a session, if that's > >> what you mean. All the container will do is notify you that the > >> session is in the process of being destroyed. > >> > >> -chris > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]