[ 
https://issues.apache.org/jira/browse/WICKET-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548986#comment-13548986
 ] 

Pedro Santos commented on WICKET-4932:
--------------------------------------

Sure, please notice that you don't need to wait one minute until the session to 
expire. To simple visit http://localhost:8080/page2?<random_number> after the 
server starts is enough since we can know that there's no page with this random 
number id at them moment.
                
> Mounted page is not throwing ExpireException with setting 
> setRecreateMountedPagesAfterExpiry(false)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4932
>                 URL: https://issues.apache.org/jira/browse/WICKET-4932
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.4.0
>            Reporter: Thijs Vonk
>            Assignee: Pedro Santos
>         Attachments: sessiontimeout.zip
>
>
> We have a page that is both bookmarkable (and accessible with certain page 
> parameters) and has a second constructor taking an object. 
> When ever the session time-out we want to show a session expired page. But we 
> get a exception because Wicket is trying to rebuild the page with no page 
> parameters. 
> We have set the setting 
> getPageSettings().setRecreateMountedPagesAfterExpiry(false); This works when 
> clicking on (ajax)links, but it's not working when using the back/forward 
> button in the browser (or javascript:history.go(-1)).
> I'll attache a quickstart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to