note 53633 added to function.setcookie

From: Date: Tue, 07 Jun 2005 20:24:35 +0000
Subject: note 53633 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-90085@lists.php.net to get a copy of this message
If you cannot get a cookie to stick when using an expiration date - check that local computer's time and time zone! I spent hours trouble-shooting my code when I realized that the computer time on a client's computer was 7 years into the future which automatically expired the cookie before it could be used! Go figure, I'm going to look now for a work around that I can do on the server-side. ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+53633 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53633&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53633&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53633&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53633&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53633&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+53633&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90085) next »