note 68666 added to function.setcookie
| From: | adruff at gmail dot com | Date: | Sun, 06 Aug 2006 05:14:55 +0000 |
| Subject: | note 68666 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115578@lists.php.net to get a copy of this message | ||
If you intend to use persistent cookies (vice session cookies that are deleted when the browser is
closed) be aware:
1) Firefox appears to require that you include all paramaters, or it will ignore the expiration and
treat the cookie as a session cookie
2) My version of firefox (1.5.0.6) defaults to 'keep cookies until i close firefox' ,
which essentially makes every cookie a session cookie. This of course sucks for devs, but i suppose
is supposed to be a security feature for the end user. If the user wants to configure firefox to
respect the expiration date and retain cookies beyond the session, the user must change it to
'keep cookies until they expire'.
----
Server IP: 216.194.113.175
Probable Submitter: 24.17.193.234
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/68666
Del: integrated -- https://master.php.net/note/delete/68666/integrated
Del: useless -- https://master.php.net/note/delete/68666/useless
Del: bad code -- https://master.php.net/note/delete/68666/bad+code
Del: spam -- https://master.php.net/note/delete/68666/spam
Del: non-english -- https://master.php.net/note/delete/68666/non-english
Del: in docs -- https://master.php.net/note/delete/68666/in+docs
Del: other reasons-- https://master.php.net/note/delete/68666
Reject -- https://master.php.net/note/reject/68666
Search -- https://master.php.net/manage/user-notes.php