BugTraq
Re: unload event in ie/mozilla/opera Aug 24 2005 10:31PM
Niels Bakker (niels-bugtraq bakker net) (2 replies)
Re: unload event in ie/mozilla/opera Aug 26 2005 08:37AM
Michael Shigorin (mike osdn org ua)
Re: unload event in ie/mozilla/opera Aug 26 2005 07:40AM
Godwin Stewart (gstewart spamcop net)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 25 Aug 2005 00:31:28 +0200, Niels Bakker <niels-bugtraq (at) bakker (dot) net [email concealed]>
wrote:

> * gillettdavid (at) fhda (dot) edu [email concealed] (David Gillett) [Thu 25 Aug 2005, 00:02 CEST]:
> > What's worse, some browsers interpret "close the browser" to trigger
> >the onunload() method, and that's just wrooong.
>
> Not that wrong, the website author could want to clear a session cookie
> or similar.

If it's a session cookie then it'll die automatically when the browser
closes down. No need to clear it.

There are many useful features of browsers (and other software - remember
when it used to be a kindness to leave an MTA as an open relay and
considered rude not to?) that have had to be deactivated because of abuse by
scum such as spammers. Firing up the onUnload event on window/browser
shutdown is one that should be added to that list IMO.

- --
G. Stewart - gstewart (at) spamcop (dot) net [email concealed]

Maintainer's Motto:
If we can't fix it, it ain't broke.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDDsdQK5oiGLo9AcYRAvQxAJ9YKaw2iCsoBrKtWbS5CbUg5k8yaACgkplF
Sexe+P8SsRj1qiNhDIdYll8=
=4lWX
-----END PGP SIGNATURE-----

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus