Eelco Hillenius wrote: >> well, I have a project where the requirement is to do some things when user >> logs out, otherwise the same user can't use the application for the next 30 >> minutes. It works fine when user uses the logout link, but I want the same >> behavior when the user closes the window. Any hints how to do this? > > That's just not possible to my best knowledge. It has nothing to do > with Wicket, but just with the fact that such an event (closing a > browser window using the functionality the OS provides for that) can't > be trapped.
Hmmm. You might be able to mess with the onbeforeunload event on <body>. Regards, Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user