tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter lin <>
Subject Re: Conncurency issue with tomcat???
Date Thu, 16 May 2002 13:40:45 GMT

try changing it so it doesn't invalidate the session.   If the duplicate
sessions do not appear, you know the culprit. The thing about checking
the session id's yourself is it won't be reliable, unless you generate
your own unique ID and manage it. Otherwise, just let catalina manage
the session life cycle.

Unless the state of session life cycle on tomcat and your client app are
synchronized, the client is going to get duplicate session id's.


"Ghorpade, Rajendra" wrote:
> Peter,
> I do invalidate session after  the 5th step.
> And the check which I apply in the service method is only in the service
> method. I mean I add and remove the session Ids in the service method
> itself.Just to check that the ongoing session id is not give to any other
> request thread.
> So there should'nt be new thread started with the same session which is
> already in progress.!!
> I have also posted this on the dev list.But not any answer yet.
> Thanxs,
> raj
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message