Peter Crowther wrote:

From: David Kerber [mailto:[EMAIL PROTECTED] I don't know javascript hardly at all, but would it work to write a little script and use an onClose event to trigger a logout request?

Yes, unless the browser crashes, the user disconnects from the internet
before closing the browser, or the browser doesn't support Javascript.
The first should(!) be rare, the second and third more common.  In any
event, it's not reliable behaviour.

                - Peter
Not reliable enough to prevent all abandoned sessions, but it would reduce them somewhat, which would help at least a little with memory usage on the server. I found that just putting a "logout" link on my app's pages helps a lot. At first, hardly anybody used it, but over time most of them have started using it when they're done with the app.

Dave



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

Reply via email to