Re: Trap BrowserClose event so can Logout Session



Thanks Mark. Fair enough. Perhaps you can suggest another way to do this:
User logs in at one station.
They move to another station and want to login.
We don't want concurrent logins from different stations.
-how do I logout the first one? I know timeout but thats 20minutes.

"Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx> wrote in message
news:OwnNPY%23HIHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
"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: ATWT Hals fake scalp?!
    ... >OK, starting at the 47 min. mark on Tuesday's show, at the police ... >station, when you look at Hal, you can see a horribly obvious line ... Prev by Date: ...
    (rec.arts.tv.soaps.cbs)
  • ATWT Hals fake scalp?!
    ... OK, starting at the 47 min. mark on Tuesday's show, at the police ... station, when you look at Hal, you can see a horribly obvious line ... Prev by Date: ...
    (rec.arts.tv.soaps.cbs)
  • Re: KB9RQZ howls at the moon and only a bogus QRP station answers
    ... It's possible but not very likely Mark could make an EME contact with the ... have very good setups to compensate for what Mark's station lacks. ... published on the web log includes station of my gain and power. ...
    (rec.radio.amateur.policy)
  • Re: ONKYO T407 AM/FM Tuner
    ... that freq and station. ... As soon as I press memory it will return to ... Mark I'll see the machine again tomorrow and will try your ...
    (sci.electronics.repair)
  • Ejecting Images in Virtual Drives
    ... When a user logs off at a station with an image in the virtual drive (Auto ... I want to be able to eject the CD ... Image at either log off or logon. ...
    (microsoft.public.windows.server.scripting)

Loading