struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvanma...@comcast.net (Gary VanMatre)
Subject Re: Struts action forms crossing sessions? Any idea why this ishappening?
Date Sat, 01 Oct 2005 02:27:22 GMT
> On 10/1/05, Preston CRAWFORD wrote: 
> > 
> > We have a problem. We're working on an application and we have some 
> > forms in session scope. The strange thing is if someone changes state on 
> > their form, users on other computers on other browsers hitting the same 
> > exact page see the state change that was made to the form on another 
> > computer. I have no idea why this is happening. Problem with the JVM? 
> > With struts? Something we're doing. Anyone ever seen this? 
> 
> 
> Are you sure that the JSPs are displayed only by using ActionForms. 
> This would happen for example if you use instance variables in your Actions 
> to 
> store some state. 
> 

It may also be that there is a proxy caching the page.  You might try adding the nocache tag
to your struts config if you have not already.

<controller>
	       <set-property  property="noCache" value="true"/>
</controller>

Gary

> Tamas 
> 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message