note 18430 added to function.setcookie

From: Date: Tue, 22 Jan 2002 19:55:04 +0000
Subject: note 18430 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-25701@lists.php.net to get a copy of this message
The problem with setting cookies with PHP4 is fundamentally a time difference between the server and the client that I'm noticing. If I set a cookie with an expiration time, the server doesn't take into account any difference between the server's time and the client's time, thus, if the server is 10 minutes ahead and you set the cookie to expire in 10 minutes, it may take 20 minutes for the cookie to actually go away on the client side. Can anyone confirm this finding? -- http://www.php.net/manual/en/function.setcookie.php http://master.php.net/manage/user-notes.php?action=edit+18430 http://master.php.net/manage/user-notes.php?action=delete+18430 http://master.php.net/manage/user-notes.php?action=reject+18430

« previous php.notes (#25701) next »