struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: Token Session Interceptor and back button
Date Thu, 05 Dec 2013 20:59:35 GMT
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 <semog1epilif@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Cheers,
Paul

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