tomcat-users mailing list archives

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

> 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...?

Regards,

Abid

-- 

Abid Hussain
Mail: abid.hussain@abid76.de
Web: http://www.abid76.de

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message