I am writing an app for multiple users and I need to lock/unlock records while users are updating information. My problem is with unlocking because a user can just close the browser and forget to unlock the record. I tried using the unload event
as shown below but it doesn't work.
The alert box will display but then nothing happens and it never goes back to the
servlet.
Any help would be greatly appreciated.
Thanks,
Ezra