You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by du...@chennai.tcs.co.in on 2003/08/10 07:34:32 UTC
which method gets called first listener.sessionDestroyed() or session.invalidate()
Hi All,
I have written a Http Session Listener for logging
session termination event.
In my listener I am trying to get user related data by calling getSession() then
getAttribute() method. Here I am always getting an exception saying IllegalStateException
: Session Already
Invalidated.
Could you please tell me why session is getting invalidated before calling
listener.sessionDestroyed(..) method.
Thanks,
Kaushik Dutta