Re: Deleteing Cookies in NS...

From: Date: Wed, 06 Sep 2000 11:36:07 +0000
Subject: Re: Deleteing Cookies in NS...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15491@lists.php.net to get a copy of this message
Okay, I got the problem: It was only that NS uses the cached dokument (where the cookie was displayd). I had turned Caching of, but this doesn't matter to Netscape... Martin Martin Thoma wrote: > Hi ! > > I set a cookie with: > function setMyCookie($name, $value, $hrsToLive) > { global $SERVER_NAME; > setCookie($name, $value, time()+60*60*$hrsToLive, "/", $SERVER_NAME, > 0); > } > > I delete it with: > function killCookie($name) > { global $SERVER_NAME; > setCookie($name, "", 0, "/", $SERVER_NAME, 0); > } > > This works fine on IE and with NS when I test it locally (Apache on > Win98, PHP 4.0.1pl2). When uploading it (on Apache, Linus, PHP > 4.0.1pl2), NS will not delete the cookie. Why ? > > Regards > > Martin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#15491) next »