Re: Trap BrowserClose event so can Logout Session



"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

.



Relevant Pages

  • Re: Centering Web Pages in Publisher 2007
    ... I entered the code as you wrote it (had to use word pad since the ... that deviates from your directions is the first instance of the tag. ... Publisher 2007 is available for download? ... This was never an issue in Front Page, and 'centering' is a ...
    (microsoft.public.publisher.webdesign)
  • Re: Centering Webpage with different Resolutions
    ... You can also read a less concise description of the process of centering Pub ... You haven't specified which version of Publisher you're using, ... resolution by inserting a tag in the notepad file under the ... Which is fine on my comp at a high resolution. ...
    (microsoft.public.publisher.webdesign)
  • Re: Accessing forms properties
    ... module in the database sometime in the future. ... > Ron W ... >> solution looks like the way to go - much better than using the Tag ...
    (microsoft.public.access.formscoding)
  • Re: Centering Web Pages in Publisher 2007
    ... In the folder windwo point to the folder that containers your files, ... tag, and the second snippet right above the last tag. ... Publisher 2007 is available for download? ... This was never an issue in Front Page, and 'centering' is ...
    (microsoft.public.publisher.webdesign)
  • Re: Centering Web Pages in Publisher 2007
    ... Try opening the file with NotePad ... tag, and the second snippet right above the last tag. ... Publisher 2007 is available for download? ... This was never an issue in Front Page, and 'centering' is ...
    (microsoft.public.publisher.webdesign)