----- Original Message -----
From: "Ramanathan Subbarayan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 7:32 PM
Subject: Re: synchronized(HttpSession) - Why should I??


> The session object is the same across all the requests (for example, many
browser
> instances) from the same client. So, we need to synchronize the code to do
any
> changes to the session object.


My opinion that this is NOT TRUE.

The servlet engine takes care of accessing the objects in the Session.
I think ( i am not sure) that the putValue and getValue functions are
sychronized or
contains a sychronized block.

Any comments related to this?

Andras.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to