Hi,

On Tue, Mar 4, 2014 at 11:32 PM, Brad Grier <brad.gr...@salusnovus.com>wrote:

> When setRecreateMountedPagesAfterExpiry is true in our app, redirecting to
> a custom timeout page either through setPageExpiredErrorPage or via
> catching a PageExpiredException isn't working (the exception never makes it
> to onException in IRequestCycleListener).
>
> When set to false, the redirect works fine but my stateless login page
> immediately throws a PageExpiredException when the login form is submitted.
>

If the login page is really stateless then it will never throw
PageExpiredException.
It seems some component/behavior in the login page is stateful.

Use org.apache.wicket.devutils.stateless.StatelessChecker (wicket-devutils)
or debug org.apache.wicket.Page#isPageStateless() to find why the page is
stateful


> If I make the form stateful, everything works but of course my login page
> eventually expires. This is something we want to avoid.
>
> We're using Wicket 6.14. Any thoughts?
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Problems-with-Page-Expiration-tp4664774.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to