detect explorer close

  • Thread starter Felix González
  • 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
 
A

Aidy

You can't reliably detect this, just use the Session_End event as you have
been doing.
 
A

Augustin Prasanna

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top