Hi again,

sorry for delay and thanks for help. Chuck has been absolutely right - it was a concurrency issue. As he said, it's better to store needed objects in the request than in the session.

The problem is, I need an object being available for several requests, so I have to store it in the session. Now I have to find a way to store objects in session avoiding any concurrency issues...

Regards,

Abid

Caldarale, Charles R schrieb:
From: Abid Hussain [mailto:[EMAIL PROTECTED] Subject: Re: retrieving two different objects from session (should be thesame)

so this means, it's specified behaviour that there is no guarantee, having an object placed in session would be the same after retrieving it after some time...?

No, the object will be the same, unless the session is persisted and
reloaded (what Mark T was asking about earlier), or clustering is being
used.

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



--

Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de

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