sessionDestroyed in SessionListener does not get called on Context destruction

2004-03-09 Thread Elie Medeiros
Hi there, I have some tidying up to do on session destruction, which doesn't take place when the context gets destroyed. I am having a problem with my HttpSessionListener. It works fine when the session is invalidated within tomcat by session.invalidate() (eg when a user logs off), but the

RE: sessionDestroyed in SessionListener does not get called on Context destruction

2004-03-09 Thread Shapira, Yoav
Hi, Context destruction does not mean session destruction: that would be a violation of the servlet specification ;) The container must try to persist data for active sessions across restarts in a robust way (I've always had an issue for that robust word in the spec, but that's another battle).

RE: sessionDestroyed in SessionListener does not get called on Context destruction

2004-03-09 Thread Elie Medeiros
Thanks Yoav - will check that out. Elie Hi, Context destruction does not mean session destruction: that would be a violation of the servlet specification ;) The container must try to persist data for active sessions across restarts in a robust way (I've always had an issue for that