On Tue, 2005-09-06 at 11:00 -0500, Caldarale, Charles R wrote:
> > From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] 
> > Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()
> > 
> > Does this mean that all session.setAttribute() and 
> > session.getAttribute() should always be synchronised
> 
> That's the conclusion I'm reluctantly coming to, if there is the
> possibility of multiple threads updating the same session
> simultaneously.  Luckily, you would think that most operations would
> really be request, not session, related.
> 

clearly, 90% are in the request or even page scope, but 10% you have in
session (like locale, user related info like authentification or granted
permissions) are needed on each request (at least we do :-))

on the other hand it encourages me to work sessionless in the future...
(*dreaming*)

regards
Leon


>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to