tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject which method gets called first listener.sessionDestroyed() or session.invalidate()
Date Sat, 09 Aug 2003 10:45:24 GMT

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 is already

Could you please tell me why session is getting invalidated before calling
listener.sessionDestroyed(..) method.


Kaushik Dutta

View raw message