tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abid Hussain <>
Subject Re: retrieving two different objects from session (should be thesame)
Date Thu, 08 May 2008 14:43:46 GMT

> The result of HttpServletRequest.getSession gives you a SessionFacade
> which is not guaranteed to be the same as the one given to another
> thread accessing the same session (right?). You could synchronize using
> an object stored /in/ the session, but then you have to worry about that
> object being replaced, etc.
so this means, it's specified behaviour that there is no guarantee, 
having an object placed in session would be the same after retrieving it 
after some time...?




Abid Hussain

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message