Re: unload event in ie/mozilla/opera

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 25 Aug 2005 00:31:28 +0200, Niels Bakker <niels-bugtraq@xxxxxxxxxx>
wrote:

> * gillettdavid@xxxxxxxx (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@xxxxxxxxxxx

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-----

[Index of Archives]     [Linux Security]     [Netfilter]     [PHP]     [Yosemite News]     [Linux Kernel]

  Powered by Linux