tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: overlapped parameters between sessions
Date Wed, 21 Feb 2007 14:19:36 GMT
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message