note 83317 added to function.setcookie

From: Date: Tue, 20 May 2008 18:50:25 +0000
Subject: note 83317 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-139561@lists.php.net to get a copy of this message
IE7 doesn't save cookies with short expiration times. For instance when I set the expiration to be time()+30 for 30 seconds, IE7 wasn't saving the cookie. When I changed my code to be time()+4000 it worked! Stupid IE ---- Server IP: 208.69.120.35 Probable Submitter: 216.194.126.221 ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- https://master.php.net/note/edit/83317 Del: integrated -- https://master.php.net/note/delete/83317/integrated Del: useless -- https://master.php.net/note/delete/83317/useless Del: bad code -- https://master.php.net/note/delete/83317/bad+code Del: spam -- https://master.php.net/note/delete/83317/spam Del: non-english -- https://master.php.net/note/delete/83317/non-english Del: in docs -- https://master.php.net/note/delete/83317/in+docs Del: other reasons-- https://master.php.net/note/delete/83317 Reject -- https://master.php.net/note/reject/83317 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139561) next »