Antwort: Re: Token Session Interceptor and back button

2013-12-10 Thread Christoph Nenning
tors.html regards, Christoph Von:semog12 An: user@struts.apache.org, Datum: 09.12.2013 13:04 Betreff: Re: Token Session Interceptor and back button Hi, Thank for the replies but when I was trying your solution I encounter another situation. I am using tiles to crea

Re: Token Session Interceptor and back button

2013-12-09 Thread semog12
Hi, Thank for the replies but when I was trying your solution I encounter another situation. I am using tiles to create my web pages and when I put your code on the main template it works perfectly but when I put on the tiles attribute page do not work. Works like this: But does not work like t

Re: Token Session Interceptor and back button

2013-12-06 Thread Paul Benedict
You need to have browser caching disabled on your first page: response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1 response.setHeader("Pragma", "no-cache"); // HTTP 1.0 response.setDateHeader("Expires", 0); // Proxies On Fri, Dec 6, 2013 at 5:03 AM, Miguel Alm

Re: Token Session Interceptor and back button

2013-12-06 Thread Miguel Almeida
Paul, I was thinking about this example...what did you have in mind as a way to achieve that, tough, i.e., that a browser "back" refreshes the page? I can only see some javascript method/hack for that. Were you thinking of something else? Miguel On Thu, 2013-12-05 at 14:59 -0600, Paul Benedict

Re: Token Session Interceptor and back button

2013-12-05 Thread Paul Benedict
Make sure your back-button action refreshes the page. You can't reuse a token from the browser's cache. It needs to regenerated. On Thu, Dec 5, 2013 at 12:39 PM, semog12 wrote: > Hi, > > I am using the token session interceptor for a form and I have this > situation: > 1) I am in the form page;