note 30095 deleted from function.setcookie by vincent

From: Date: Fri, 12 Sep 2003 06:35:49 +0000
Subject: note 30095 deleted from function.setcookie by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56312@lists.php.net to get a copy of this message
Note Submitter: metalblend ---- I had trouble figuring out why I couldnt set a cookie and use header("Location: $PHP_SELF") in IE6 .. caching seemed to be killing cookies, until I tried header("Cache-Control: private") setcookie("cookie","value",time()+3600); header("Cache-Control: private"); header("Location: ".$PHP_SELF); Hope that helps someone, and if someone would like to explain why this happens that'd be nice.

« previous php.notes (#56312) next »