I implemented the feature in the ticket Matt created. Please try it. On Wed, Nov 2, 2011 at 11:35 AM, Andrea Del Bene <[email protected]> wrote: > Have you tried session.invalidate()? If you have an AuthenticatedWebSession > you can also use signOut() >> >> Hi >> >> Upon logging out we need to keep the current user's session to still >> display some information but we want to remove all previous pages from the >> PageMap (or however that is solved in Wicket 1.5 now) so that he cannot go >> back and continue on these pages. >> In Wicket 1.4 we found a way to achieve that, basically with >> session.clear() (plus session.untouch(getPage()) ). In Wicket 1.5.2 the >> clear() method ist still there, but only contains an empty TODO comment.... >> >> How do we clear the previous pages now so that if he goes back, the user >> receives a PageExpiredError ? >> >> Thanks a lot >> >> Matt >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
