detect explorer close

  • Thread starter Thread starter Felix González
  • Start date Start date
F

Felix González

Hi

I´m developing an ASP.NET application, this application need´s save records
on a tempory table of data base. when the user close session I delete this
table. But what can I do when the user close explorer without close
sesseion? how can I detect this event?

thanks
 
Hi Felix,

You can try this.

1) Write a javascript function and call from the unload event of the window
(client side).
2) Send a request to server program (Ajax) from within this javascript
function.

Let me know if this helps.

Regards,
Augustin
 
Back
Top