We are having a strange session mixup in our application.

Environment
----------------
Tomcat 5.0
Struts 1.2.7
Tiles

Upon successful user login, we store user bean class with user info such as 
name, department, phone on session.  This profile is used for keeping track of 
who is entering data in the application.  Users started complaining about 
seeing some other person as the reporter while they were entering data.  Upon 
further research, we are able to easily reproduce this error with 6 of us 
submitting a webpage in our application simultaneously.

When we all submit our form together, we are seeing in the logs all kind of 
mixups.

For example: 

User A session will see User B request object
UserCB session will see User D request object

Then after successful submit, next forwarded action will display

User B name as reporter on User A, User C and User D browsers

However, we have a tile template that has a "Welcome John Doe" greeting, which 
uses the session user bean that displays logged in user name correctly all the 
time.

We are not sure if this is a bug in struts or have some implementation problem. 
 We were having this problem when we were in Struts 1.1.  We still have the 
problem even after upgrading to Struts 1.2.7.  Seems like, our implementation 
or use of struts might be the root cause but not able to pinpoint.

We don't have any static method calls or static objects we reference in action 
classes.

Any ideas or suggestions what could be the problem?

TIA,

Srinivas





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to