I've come across session interchanging issue with struts 1.2 action classes. When i checked in to i could identify that session attribute is defined globally for that action class. I understand unlike struts 2.0 this version generates threaded architecture which is somewhat similar to how servlet works. Still I can not think of how could this be a problem or what is the relationship in different threads for globally defined and lazily initialized http session where it uses in several action types.
I resolved the problem by defining that inside the action methods. Also note this happens when I execute that action type from two different browsers at a same second. I tried with IE7 and FF3.5 still the results is same (from two different machines as well).
From your post, it looks like you've problem with the struts session object when you defined them as action instance variable and this problem gets solved when you create and use them locally, well if that's the case, then never ever define and use the instance variable and as you know the reason that action classes are servlets.
@David - Its basically nothing much different than sample action other than globally defined attritute for session. I'm remotely browsing so that i dnt hv access to my actual code. Basically it would be as follows.
I'm confused why session can not be used as action class attributes.