You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Andrea Beda <ab...@ibc.it> on 2009/02/25 14:58:50 UTC

Session expires while a modal window is open

Hi all!
    I've a problem in my application when the session expires while a modal
window containing a back button is open.
If you press the button, the expired page appares and after the link will
redirect you to the login page, but inside the modal window.
Is this the normal behavior? Is it possible to close a modal window after
session expired?
Thanks in advance 
-- 
View this message in context: http://www.nabble.com/Session-expires-while-a-modal-window-is-open-tp22203322p22203322.html
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: Session expires while a modal window is open

Posted by Andrea Beda <ab...@ibc.it>.
Thanks a lot, it works for me!
-- 
View this message in context: http://www.nabble.com/Session-expires-while-a-modal-window-is-open-tp22203322p22246297.html
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: Session expires while a modal window is open

Posted by Jeremy Thomerson <je...@wickettraining.com>.
You could and an ajax timer to your modal window content that keeps the
session going as it polls the server once every minute, or two, or five....

-- 
Jeremy Thomerson
http://www.wickettraining.com

On Wed, Feb 25, 2009 at 7:58 AM, Andrea Beda <ab...@ibc.it> wrote:

>
> Hi all!
>    I've a problem in my application when the session expires while a modal
> window containing a back button is open.
> If you press the button, the expired page appares and after the link will
> redirect you to the login page, but inside the modal window.
> Is this the normal behavior? Is it possible to close a modal window after
> session expired?
> Thanks in advance
> --
> View this message in context:
> http://www.nabble.com/Session-expires-while-a-modal-window-is-open-tp22203322p22203322.html
> 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
>
>