Re: Trap BrowserClose event so can Logout Session
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Mon, 5 Nov 2007 19:57:10 -0000
"Ron J" <rjohnson@xxxxxxxxxxxx> wrote in message news:eLmmZy9HIHA.4296@xxxxxxxxxxxxxxxxxxxxxxx
How can I trap the user just closing the browser (upper right [x])
You can't.
This question comes up regularly - there are usually several suggestions, mainly centering around the onunload event of the <body> tag - none of them even half works.
Don't waste any time on this - it isn't possible, otherwise every website in the world would be doing it...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- References:
- Trap BrowserClose event so can Logout Session
- From: Ron J
- Trap BrowserClose event so can Logout Session
- Prev by Date: Re: ASP.NET message box
- Next by Date: Re: putting code in master page Page_Load event moves everything on the page down 2 lines?
- Previous by thread: Trap BrowserClose event so can Logout Session
- Next by thread: Re: Trap BrowserClose event so can Logout Session
- Index(es):
Relevant Pages
|