note 54367 added to function.setcookie
| From: | Topher3005 at theskepticaloptimist dot com | Date: | Fri, 01 Jul 2005 15:57:01 +0000 |
| Subject: | note 54367 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91269@lists.php.net to get a copy of this message | ||
Cookies are pretty much meaningless in Firefox!
Firefox has an annoying feature which wipes out cookies if you close firefox. This means that
cookies only persist while the browser window is open. This seems to be the default setting in
Firefox, meaning if you want cookies to last after Firefox is closed, your out of luck for most of
Firefox users.
While this is handy for per-session cookies, regardless of what expiry date you put for your cookie,
it will be nuked when firefox is closed if the user has this feature enabled.
Firefox does have a "Keep cookies until they expire" rule, but his is not the default
value set and many users will probably not want to change it because of ignorance about how cookies
work and what information they contain.
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54367
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54367&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54367&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54367&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54367&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54367&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54367&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54367&report=yes
Search -- http://master.php.net/manage/user-notes.php