tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: overlapped parameters between sessions
Date Wed, 21 Feb 2007 14:19:36 GMT
> From: WILLIAM PARRA [mailto:wilparra@yahoo.com] 
> Subject: Re: overlapped parameters between sessions
> 
> I understood that the sessions were of each user. isn't it?

There may be multiple sessions per "user", depending on the browser,
number of windows open, etc.

> I understood that One session to one Navegator to one user. isn't it?

Not necessarily; there may be more than one session.  A session will not
be shared by multiple clients, but it can be shared by multiple tabs or
browser windows opened by a single client.

> I don't understand because the parameter can be overwritten 
> by the value from another request. The object request is not 
> part of the session?

No, it is not part of the session.  A browser often submits multiple
requests simultaneously, resulting in multiple threads within Tomcat
utilizing the same Session object at the same time.  Any synchronization
of access to the Session object is the responsibility of the app.  The
same is true for any fields of your servlet objects.

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