Guys,

I wanted to add this feature in my application, where once the
session-timeout period is reached, the user is automatically redirected to
the session-expiry page, like the way you might have seen in various banking
sites.

In order to achieve the above the first component which came to my mind was
AbstractAjaxTimerBehavior, on which i set the to event-invocation-time to =>
"session-timeout_period + 1 mill-sec (or 1 sec)", where when the ajax-event
is invoked (once the timeout is reached), the wicket framework would
automatically redirect the user to the session-expiry page.

The problem is that since my application pages has various ajax-components
in it and not every request results in the whole page being rendered, i am
not sure which component to attach this ajaxTimerBehavior with, such that
the AjaxTimerBehavior's timer is updated accordingly with every ajax-request
(as well).

Can anyone suggest as to what would be the right way to go with this, or an
alternate solution to the above requirement..

Thanks in advance and Regards,

Farhan.
-- 
View this message in context: 
http://www.nabble.com/Automatic-redirection-to-Expiry-Page-once-the-session-timeout-is-reached---Possible-options-tp18326963p18326963.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to