You could try binding to window onUnload event but I think there are
limitations as to what you can do within that and it may not always be
called.

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




On Sun, May 17, 2009 at 10:32 PM, Carlo M. Camerino
<[email protected]> wrote:
> Hi,
>
> I was just wondering if any of you have implemented this in your wicket 
> applications already.
> Have you tried calling a logout method when the user closed the browser?
> One of the things that I could do is to provide a timeout listener but it 
> would have to wait for the expiration time to happen.
>
> What I would like to happen is this:
>
> User A logins to the application
> User A has a session already and accesses some parts of the application.
> User A closes the firefox browser.
>
> Upon closing browser, the application automatically logouts User A and 
> destroys server side session.
>
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to