tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: which method gets called first listener.sessionDestroyed() or session.invalidate()
Date Sun, 10 Aug 2003 03:36:21 GMT
If you want to re-post your question on tomcat-user, I'd be more than happy
to answer your question.  However, it is off-topic on this list.

----- Original Message ----- 
From: <dutta_kaushik@chennai.tcs.co.in>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Saturday, August 09, 2003 3:45 AM
Subject: 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 is already
> invalidated.
>
> Could you please tell me why session is getting invalidated before calling
> listener.sessionDestroyed(..) method.
>
> Thanks,
>
> Kaushik Dutta
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message