> From: Abid Hussain [mailto:[EMAIL PROTECTED] 
> Subject: Re: retrieving two different objects from session 
> (should be thesame)
> 
> 1. There's only one request which ends up in the servlet where the 
> described behaviour came up.

Only true if the user never opens two windows/frames targeting the same
servlet - and you have no control over that.  The sporadic nature of the
failure would indicate you have some form of concurrency problem.

> 2. The webapp is normally used by a few users at the same time.

The number of users doesn't matter, since each has a separate session.

> 3. Whatever the number of requests is, the session stays the same, 
> shouldn't it?

Yes, which creates the need for synchronization due to the possibility
of multiple concurrent requests for the same session.

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to