Yes I know but by using the back button it seems to be ignored. Like it tries to serve the same page no matter we have a session or not.
On Tue, Dec 11, 2012 at 9:59 AM, Martin Grigorov <[email protected]>wrote: > On Mon, Dec 10, 2012 at 9:04 AM, Rob Sonke <[email protected]> wrote: > > > Last week we fixed an issue with Wicket 6 where mounted pages were being > > reconstructed after the session expired. That was due to this (new) > setting > > which we set to false now: > > > > getPageSettings().setRecreateMountedPagesAfterExpiry(false); > > > > This worked perfectly for clicking on (ajax) links but, this doesn't seem > > to work when I use the back button of the browser after the session > > expired. What happens is that Wicket tries to reconstruct the previous > > (mounted bookmarkable) page. But that's failing in our case because we > dont > > support that as every page needs session information. > > > > Am I doing something wrong? As I would expect a PageExpiredException in > > this case. > > > > If you need PEE then this is the correct setting. > > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> >
