Any static field storage in your bean object?
--David
Srinivas Gunturu wrote:
Hello All,
I have been fighting this session mix-up problem in our application which is
very easily reproducible.
Environment:
Tomcat 5.0.9
Struts 1.1
Upon user login, we create a user bean object and store on
Thanks for the quick response. We do have some static final constants in the
user bean, but not marked Transient.
[EMAIL PROTECTED] 07/14/05 10:26 AM
Any static field storage in your bean object?
--David
Srinivas Gunturu wrote:
Hello All,
I have been fighting this session mix-up problem
Hi,
It never happened to me and it will not happen also unless there is some
serious bug in ur code.
Are you six people trying to login simultaneously from different machines?
Or trying to login from same system one after another from same system?
If it is the second case, then it copuld be the
All 6 of us are logging simultaneously from different machines.
The way, we store the user object in session is inside LoginAction class and
not inside the jsp.
session.setAttribute(Constants.USER_KEY, userInfo);
[EMAIL PROTECTED] 07/14/05 10:34 AM
Hi,
It never happened to me and
Ok. One other thought that's burned me once -- servlet instances are
recycled between requests without resetting any of it's field members.
The next request gets it exactly as the one before left it. That means
you should either avoid field members in favor of method parameters +
method local
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: Session Mixup
Ok. One other thought that's burned me once -- servlet instances are
recycled between requests without resetting any of it's field
members.
Actually, a given servlet object may be accessed by multiple
request
srinivas,
can u post the code fragment which contains all statements from creating the
new user bean : userInfo to settin it in session
and any other related XML if any
On 7/14/05, Srinivas Gunturu [EMAIL PROTECTED] wrote:
All 6 of us are logging simultaneously from different machines.
Hi,
We are independent consultants currently undertaking a study of satisfaction
among end-users of Open Source Software, notably Tomcat, for a company which
has asked us for recommendations in terms of deploying policy for such
systems.
I was hoping to set up a quick (5 minute) telephone