|
-
Sep 5th, 2004, 10:20 AM
#1
Thread Starter
Frenzied Member
Unload event...?
I hae a UserControl that is used to put data in the db. When the user loads this pge/form/control a entry is created in the db to get the primary key for the data. While they use the page and upload picture the primary key is put in the pictures table. When they cancel everything is deleted and we are happy. BUT, if they close with the X close button on the browser everything gets screwed up. Unload fires every postback.
Does anyone know how to catch the actual closeing of the browser window...? This is a real problem I can't think of anyway to handle it except by putting a close this window and I'll delete your account message on there... of course I would be bluffing since I have no idea when the window is closed.
Thanks
Magiaus
If I helped give me some points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|