detect explorer close
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
Re: detect explorer close
You can't reliably detect this, just use the Session_End event as you have
been doing.
"Felix González" <felix.gonzalez [at] gvgest.es> wrote in message
news:O1yjp1VlIHA.2328 [at] TK2MSFTNGP03.phx.gbl...
> 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
>
>
>
>
Re: detect explorer close
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
"Felix González" <felix.gonzalez [at] gvgest.es> wrote in message
news:O1yjp1VlIHA.2328 [at] TK2MSFTNGP03.phx.gbl...
> 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
>
>
>