RE: Prevent Wicket from creating a new user session while user clicks back button
You can't prevent a new session from being created, but I'm thinking you still have session data after you logged them out, so don't forget to invalidate the session. e.g. HttpSession session = ((ServletWebRequest) getPage().getRequest()).getHttpServletRequest().getSession()session.invalidate(); > From: bona...@hispeed.ch > To: users@wicket.apache.org > Subject: Prevent Wicket from creating a new user session while user clicks > back button > Date: Wed, 12 Aug 2009 19:17:01 +0200 > > Hi all > How can i prevent Wicket from creating a new user session while user has > been logged out and clicks back button on browser > > Thx for any help > Andre > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > _ Express your personality in color! Preview and select themes for HotmailĀ®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Prevent Wicket from creating a new user session while user clicks back button
New session will only be created if the page user lands after clicking back button is bookmarkable. It is not possible to change this behavior. If the page is not bookmarkable user will be redirected to expired page. -Matej On Wed, Aug 12, 2009 at 7:17 PM, Andre Bonalli wrote: > Hi all > How can i prevent Wicket from creating a new user session while user has > been logged out and clicks back button on browser > > Thx for any help > Andre > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Prevent Wicket from creating a new user session while user clicks back button
Why do you want to do this? ** Martin 2009/8/12 Andre Bonalli : > Hi all > How can i prevent Wicket from creating a new user session while user has > been logged out and clicks back button on browser > > Thx for any help > Andre > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Prevent Wicket from creating a new user session while user clicks back button
Hi all How can i prevent Wicket from creating a new user session while user has been logged out and clicks back button on browser Thx for any help Andre - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org