note 93712 deleted from function.setcookie by googleguy

From: Date: Tue, 22 Oct 2013 11:17:08 +0000
Subject: note 93712 deleted from function.setcookie by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-197073@lists.php.net to get a copy of this message
Note Submitter: LexyFivethousandTwothousandTwo at yahoo dot com ---- If your isset($_COOKIE['cookieName']) call fails even though the setcookie("cookieName", $cookieValue, time(),..) returned success, try replacing the timeout value with "0". I just spent an entire day on this strange problem. I am using IE8. This same call worked OK in the past with a timeout value of time() + 360. Anyway, changing it to "0" fixed the problem. --Alex.

« previous php.notes (#197073) next »