Fire event when user leaves a .aspx page
Posted on 2011-03-15
I need to fire an event when a user leaves a page. I tried page unload, but fires even when the page loads. I tried page dispose, but it does not fire at all.
I need to update the database in this event.