You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by tbt <na...@yahoo.com> on 2007/10/09 08:46:01 UTC
logout
Hi
I'm a newbie to wicket and i'm currently using a Session to log users into
my application. When the users click a logout button a new page is shown.
But they can click the back button in the browser and go into the
application. Is there a wicket way of expiring the session when the logout
button is clicked and showing a seperate page when the back button is
clicked.
thanks
--
View this message in context: http://www.nabble.com/logout-tf4592416.html#a13110247
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: logout
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
hhehe, using back browser in this case will just yield a page expired
page, if you set it up you can tell it to show a login page instead...
You might want to look into the simpleautorisation strategi here.
tbt wrote:
> well it is the browser button that i'm concerned about :)
> I want it to be something like a mail account where once you logout you
> can't use the back button in the browser to navigate inside the
> application(eg: yahoo mail).
>
>
> Nino.Martinez wrote:
>
>> session.invalidate() and use setResponsePage to navigate to where you
>> want when pressing back button (Thinking its not the browser button?)
>>
>> -Nino
>>
>> tbt wrote:
>>
>>> Hi
>>>
>>> I'm a newbie to wicket and i'm currently using a Session to log users
>>> into
>>> my application. When the users click a logout button a new page is shown.
>>> But they can click the back button in the browser and go into the
>>> application. Is there a wicket way of expiring the session when the
>>> logout
>>> button is clicked and showing a seperate page when the back button is
>>> clicked.
>>>
>>> thanks
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: logout
Posted by tbt <na...@yahoo.com>.
well it is the browser button that i'm concerned about :)
I want it to be something like a mail account where once you logout you
can't use the back button in the browser to navigate inside the
application(eg: yahoo mail).
Nino.Martinez wrote:
>
> session.invalidate() and use setResponsePage to navigate to where you
> want when pressing back button (Thinking its not the browser button?)
>
> -Nino
>
> tbt wrote:
>> Hi
>>
>> I'm a newbie to wicket and i'm currently using a Session to log users
>> into
>> my application. When the users click a logout button a new page is shown.
>> But they can click the back button in the browser and go into the
>> application. Is there a wicket way of expiring the session when the
>> logout
>> button is clicked and showing a seperate page when the back button is
>> clicked.
>>
>> thanks
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/logout-tf4592416.html#a13111382
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: logout
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
session.invalidate() and use setResponsePage to navigate to where you
want when pressing back button (Thinking its not the browser button?)
-Nino
tbt wrote:
> Hi
>
> I'm a newbie to wicket and i'm currently using a Session to log users into
> my application. When the users click a logout button a new page is shown.
> But they can click the back button in the browser and go into the
> application. Is there a wicket way of expiring the session when the logout
> button is clicked and showing a seperate page when the back button is
> clicked.
>
> thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org