detect explorer close
am 03.04.2008 09:36:23 von felix.gonzalez
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
am 03.04.2008 10:50:01 von Aidy
You can't reliably detect this, just use the Session_End event as you have
been doing.
"Felix González" wrote in message
news:O1yjp1VlIHA.2328@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
am 03.04.2008 11:54:33 von 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
"Felix González" wrote in message
news:O1yjp1VlIHA.2328@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
>
>
>