Re: Preventing struts Page Caching

2005-12-06 Thread Laurie Harper
Well, those are really two separate issues, though if you achieve the second you would no longer need to worry about the first. What you probably want, though, is for the user to be taken to the login page only if they've logged out (or their session has expired), in which case the first proble

RE: Preventing struts Page Caching

2005-12-06 Thread Scott Purcell
PROTECTED] Sent: Tuesday, December 06, 2005 8:54 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Preventing struts Page Caching I would like to prevent submitting the page twice as well as when back button is pressed user should be taken to login page. Thanks --- Laurie Harp

Re: Preventing struts Page Caching

2005-12-06 Thread sma3har
I am using IE 6.0 and firefox 5.0. --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 12/5/05, sma3har <[EMAIL PROTECTED]> wrote: > > When i submit the page and hit the back button i > can > > submit the page again. The browser is caching the > jsp > > page. I have tried adding this code : > >

Re: Preventing struts Page Caching

2005-12-06 Thread sma3har
I would like to prevent submitting the page twice as well as when back button is pressed user should be taken to login page. Thanks --- Laurie Harper <[EMAIL PROTECTED]> wrote: > sma3har wrote: > > When i submit the page and hit the back button i > can > > submit the page again. The browser is

Re: Preventing struts Page Caching

2005-12-05 Thread Michael Jouravlev
On 12/5/05, sma3har <[EMAIL PROTECTED]> wrote: > When i submit the page and hit the back button i can > submit the page again. The browser is caching the jsp > page. I have tried adding this code : > > response.setHeader("Cache-Control","no-store"); > response.setHeader("Pragma","no-cache"); > resp

Re: Preventing struts Page Caching

2005-12-05 Thread Laurie Harper
sma3har wrote: When i submit the page and hit the back button i can submit the page again. The browser is caching the jsp page. I have tried adding this code : response.setHeader("Cache-Control","no-store"); response.setHeader("Pragma","no-cache"); response.setDateHeader ("Expires", 0); to m

Preventing struts Page Caching

2005-12-05 Thread sma3har
When i submit the page and hit the back button i can submit the page again. The browser is caching the jsp page. I have tried adding this code : response.setHeader("Cache-Control","no-store"); response.setHeader("Pragma","no-cache"); response.setDateHeader ("Expires", 0); to my jsp page but di