Posted by ged on 1999-10-24
>So the key is to make the expiration date zero? I will
>try this out.
The cookie lasts until the stated expiry date so to 'delete' it you set its
expiry date to yesterday or, with this Javascript example from
http://www.echoecho.com/jscookies.htm/
{
document.cookie = NameOfCookie + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
to the 1st Jan 1970.
Should do it :-)
hth
__
Ged
Previous post | Next post | Timeline | Home