Agreed. I wasn't thinking that the question was to literally synchronize on
the session object itself. I see now that that may have been the original
intent. Synchronizing on the session object itself seems like a really
dangerous idea to me (invitation for deadlock, performance issues). And
Kris's test shows it probably wouldn't do what you expect it to anyway.

-Max

----- Original Message ----- 
From: "Kris Schneider" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 8:32 AM
Subject: Re: Are httpSessions thread safe?


> The point is about synchronizing on the session object, in which case it
makes
> all the difference in the world that different instances are used to
represent
> the same conceptual session.



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

Reply via email to