471,852 Members | 908 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,852 software developers and data experts.

Unlock Data when User exits ... (OnUnload)?

13
Hi!

I don't know how to handle the following problem:

When a User clicks on the detail view of an item, I lock the item in the database. If the user exits with clicking the cancel or ok button I unlock the item and everything works fine.

But if the user exits just closing the explorer window or clicking on an other menu item in the frame, the item is still locked.

I tried to load an aspx script which unlocks the item in the unload event of the body (with iframe), but it works only sometimes.

If you have any ideas how to solve the unlock process ... please let me know ...

Thx!
Jan 31 '07 #1
0 1398

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Joakim Braun | last post: by
4 posts views Thread by Nikhil Patel | last post: by
7 posts views Thread by Ross Culver | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.