----------------------------------------------------------------
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 never seen this happen, the only thing I can think of is the code
where u do this stuff, I think is not thread safe.
Use synchronize block.
HTH
Sudhi
"Bari, Naeem" wrote:
>
> ----------------------------------------------------------------
> 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 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.
>
> Thanks,
> naeem
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]