|
-
Apr 9th, 2009, 02:57 PM
#1
Thread Starter
Addicted Member
A method .NET really needs
I've been wondering this since the beginning of .NET.
In WinForms, you are able to capture the "Form Closing" event of a form. This is invaluable to me, since it gives me a chance to perform "cleanup" (clearing objects, variables, etc.) before the application is terminated.
One thing I always wanted was a way to capture the "Window Closing" or, in the case of multi-tabbed browsers, "Tab Closing" event of a browser window.
Is there currently an industry-accepted method of doing this? There has to be a way, IMO, since secure websites destroy your session once you close the window (so some nosy person can't go through your browser history and see your bank account details).
If my post helped you, please rate it!
Languages: VB/ASP.NET 2005, C# 2008,VB6
Databases: Oracle (knowledge not currently in use), DB2
FROM Customers
WHERE We_Know_What_We_Want <> DB.Null
SELECT *
0 rows returned
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
|