note 104885 added to function.setcookie

From: Date: Wed, 13 Jul 2011 15:27:35 +0000
Subject: note 104885 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-181461@lists.php.net to get a copy of this message
If you're having problem with IE not accepting session cookies this could help: It seems the IE (6, 7, 8 and 9) do not accept the part 'Expire=0' when setting a session cookie. To fix it just don't put any expire at all. The default behavior when the 'Expire' is not set is to set the cookie as a session one. (Firefox doesn't complains, btw.) ---- Server IP: 69.147.83.197 Probable Submitter: 66.152.79.250 ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- https://master.php.net/note/edit/104885 Del: integrated -- https://master.php.net/note/delete/104885/integrated Del: useless -- https://master.php.net/note/delete/104885/useless Del: bad code -- https://master.php.net/note/delete/104885/bad+code Del: spam -- https://master.php.net/note/delete/104885/spam Del: non-english -- https://master.php.net/note/delete/104885/non-english Del: in docs -- https://master.php.net/note/delete/104885/in+docs Del: other reasons-- https://master.php.net/note/delete/104885 Reject -- https://master.php.net/note/reject/104885 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181461) next »