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 <semog1epi...@gmail.com> wrote: > Hi, > > I am using the token session interceptor for a form and I have this > situation: > 1) I am in the form page; > 2) I leave the form page; > 3) Go back to the form page by the "back" button; > 4) Submit the form; > > And of course the form is not submitted and the token returns > "invalid.token" but do not adds no actionError. It will not be interesting > to add an action error? > > Ok, I can resend to a page with a message but I already have a error page > that presents the action errors when necessary. > > Thanks, > > André Gomes > > > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Token-Session-Interceptor-and-back-button-tp5714861.html > Sent from the Struts - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul