[
https://issues.apache.org/jira/browse/WICKET-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165772#comment-13165772
]
bernard commented on WICKET-4277:
---------------------------------
Andrea,
Thanks very much for assessing this issue. However I am perplexed by the
solution. So far, for a couple of years, I haven't come across a situation
where with Wicket I had to use a session token. I had to use them only with
other frameworks like Struts, but that is history.
So I tried this testcase with Wicket 1.4.18 where it just works as expected.
That leads me to believe that this is a bug in Wicket 1.5. I am attaching a
separate testcase for your convenience.
> Sign in Link onClick() gets invoked by Browser Back Button
> ----------------------------------------------------------
>
> Key: WICKET-4277
> URL: https://issues.apache.org/jira/browse/WICKET-4277
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.3
> Environment: GlassFish
> Reporter: bernard
> Attachments: quickstart.zip
>
>
> On a test page, the user clicks on a signin link that transfers to a signin
> page.
> The signin page transfers back to the test page.
> The user clicks on a signout link on a test page that invalidates the sesion
> and transfers the user to the signin page.
> If the user then clicks the back button then the onClick() of the signin link
> on the test page is invoked again unexpectedly.
> Therefore, the user cannot go back to the test page by pressing the browser
> back button.
> My apologies if I missed something. It looks kind of tricky and difficut.
> I guess the answer is within the URL parameter ?0-1.ILinkListener-signin but
> I don't know what to do with it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira