468,765 Members | 1,710 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

Which event is fired in asp.net when the browser is closed

Hello,
I am new to asp.net. Can anybody please tell me which event
is fired when we close the browser. I want to
remove some resources when the browser close button is pressed.
Thanks in advance.

Regards,
Gouri.

Jun 27 '08 #1
3 2764
re:
!Can anybody please tell me which event is fired when we close the browser

No event is fired.
ASP.NET works server-side. The browser is client-side.

The server doesn't know what the browser does.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
<Go************@gmail.comwrote in message news:38**********************************@w8g2000p rd.googlegroups.com...
Hello,
I am new to asp.net. Can anybody please tell me which event
is fired when we close the browser. I want to
remove some resources when the browser close button is pressed.
Thanks in advance.

Regards,
Gouri.

Jun 27 '08 #2
On May 22, 1:35*pm, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!Can anybody please tell me which event is fired when we close the browser

No event is fired.
ASP.NET works server-side. The browser is client-side.

The server doesn't know what the browser does.

Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================

<Gouri.Mahaj...@gmail.comwrote in messagenews:38**********************************@w 8g2000prd.googlegroups.com...
Hello,
* * * * *I am new to asp.net. Can anybody please tell me whichevent
is fired when we close the browser. I want to
remove some resources when the browser close button is pressed.
Thanks in advance.
Regards,
Gouri.- Hide quoted text -

- Show quoted text -
Can you please tell me is there any other way to find out the page is
getting closed so that i can remove the resources before that.
Jun 27 '08 #3
re:
!Can you please tell me is there any other way to find out the page
!is getting closed so that i can remove the resources before that

You can't.
No server web platform in the world can know when a browser was closed.

There's an "onunload" page property, but for all practical purposes
it's useless because it fires for *every* page, and not only when
a browser is closed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
<Go************@gmail.comwrote in message news:51**********************************@z16g2000 prn.googlegroups.com...
On May 22, 1:35 pm, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
re:
!Can anybody please tell me which event is fired when we close the browser

No event is fired.
ASP.NET works server-side. The browser is client-side.

The server doesn't know what the browser does.

Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================

<Gouri.Mahaj...@gmail.comwrote in messagenews:38**********************************@w 8g2000prd.googlegroups.com...
Hello,
I am new to asp.net. Can anybody please tell me which event
is fired when we close the browser. I want to
remove some resources when the browser close button is pressed.
Thanks in advance.
Regards,
Gouri.- Hide quoted text -

- Show quoted text -
Can you please tell me is there any other way to find out the page is
getting closed so that i can remove the resources before that.
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jeff Thies | last post: by
19 posts views Thread by zacks | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.