Guys,

How do you get hold of the close event on the browser? I have an aspx based app that applies some datatbase locking, which is easy to manage with user events within the application, but if they decide to close the browser while they still have records locked it fails.

I was thinking there is no way around this but to implement a time out, so many minutes of inactivity and I log them out of the app and release any locks. But I've just tried closing the broswer whilst composing a message in googlemail, and it prompted me if I wanted to discard the message.... so there is an event to get hold of....

Any pointers please.
Bob