Zutar Posted October 16, 2003 Posted October 16, 2003 Is there a way to catch the event of a user closing web browser or just even leave the webpage of an ASP.NET application? I have to delete some temporary files when a session is ending, I know I can use the Session_end event in global.asax, but its only work when I end a session with a Logout link on the web page. Let me know if there is anything I can do instead of deleting the files manually once time to time ? hehe Thanks Quote
*Gurus* Derek Stone Posted October 16, 2003 *Gurus* Posted October 16, 2003 No, there is no practical way of catching such an event, nor should there be a need to. You may want to rethink your application's architecture or otherwise accept the idea that you'll just have to delete the files manually. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.