Coder's Guild Mailing List

Re: Cookies

Posted by Fabian.Wolf@xxxxxx.xxxxxx.xx (Wolf Fabian) on 1999-10-25

> > Not sure if it works okay, but have you yet tried
> > the <body
> > onUnload="javascript:something()"> tag?
> >
>
> How would I do this? I mean what would I put for the
> javascript? I am using Perl to set the cookie.

in HTML? here we go:
<head>
  (...)
  <script language="javascript">
  <!--
     function clc()
       { document.cookie = "" }
  //-->
  </script>
</head>
<body unLoad="javascript:clc()" ...>

or similar...

just try it ;)

cu, w0lf.
--
-----
theSceneUnited:
  http://www.scene.de

-----
biz4free:
  http://www.biz4free.de.cx

  "Alles, was es kostenlos im Internet
  fuer gewerbliche Nutzung gibt"

-----
F. Wolf-Webdesign:
  http://www.puk.de/coronary/fww/

  "...und die Sonne geht auf."