Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...