if the "log out" is an event, like a click on the "logout" button, you can intercept it, issue a submit with javascript and then actually logout the user... if you're good with javascript-fu, the user won't notice it. If instead the "log out" is the user closing the window, YMMV. You can hook up to the "beforeonload" event, but it's quite nasty because: - you'd have to work your way through other stuff (the event is raised also on form submits, user clicking on a link that leads to another page, etc) - a big alarm gets raised (you surely noticed some of them on the internet, like "the page is asking: are you sure you want to leave this page?")
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

