----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I assume that this object you are using is a member variable of the servlet
class. This means that all requests to the servlet share the same object.....
You have to create a new object every time a new user logs in.

Maybe a code snipset would help

sk

> I am running jserv 1.1.1 on 2 boxes, a redhat 6.1 box and a solaris 7 box.
> Both appear to have this problem.
>
> What happens is that if multiple people concurrently log into the site,
> the contents of one person's session get replaced by the contents of
> another.
>
> I have an object that I store some stuff in and put it in the session
> whenever a user logs in. On subsequent hits from the same user, I extract
> the object, read the stuff I stored in it, and process the request. It
> is important to note that after the person has logged in, this object
> is never put into the session again, it is just retreived and used.
>
> If 2 people log in at the same time, all goes okay. But after that point,
> on their subsequent visits, if they again happen to generate a request
> at the same time, there is a chance that the wrong object will be obtained
> from the session, even though the sessionId is still correct. It is as if
> JServ incorrectly associated one session's content with another.
>
> Has anybody else seen this? Am I doing anything wrong?
>
> Any help will be appreciated.
>

--
======================================================================
Stefanos Karasavvidis
Electronics & Computer Engineer
e-mail : [EMAIL PROTECTED]

Multimedia Systems Center S.A.
Kissamou 178
73100 Chania - Crete - Hellas
http://www.multimedia-sa.gr

Tel : +30 821 88447
Fax : +30 821 88427




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to