note 71591 added to function.setcookie
| From: | paulnospamATnospamsitepointdotcom at osu1 dot php dot net | Date: | Thu, 07 Dec 2006 04:59:01 +0000 |
| Subject: | note 71591 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120357@lists.php.net to get a copy of this message | ||
Note when setting "array cookies" that a separate cookie is set for each element of the
array.
On high traffic sites, this can substantially increase the size of subsequent HTTP requests from
clients (including requests for static content on the same domain).
More importantly though, the cookie specification says that browsers need only accept 20 cookies per
domain. This limit is increased to 50 by Firefox, and to 30 by Opera, but IE6 and IE7 enforce the
limit of 20 cookie per domain. Any cookies beyond this limit will either knock out an older cookie
or be ignored/rejected by the browser.
----
Server IP: 203.16.234.90
Probable Submitter: 218.214.21.210
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/71591
Del: integrated -- https://master.php.net/note/delete/71591/integrated
Del: useless -- https://master.php.net/note/delete/71591/useless
Del: bad code -- https://master.php.net/note/delete/71591/bad+code
Del: spam -- https://master.php.net/note/delete/71591/spam
Del: non-english -- https://master.php.net/note/delete/71591/non-english
Del: in docs -- https://master.php.net/note/delete/71591/in+docs
Del: other reasons-- https://master.php.net/note/delete/71591
Reject -- https://master.php.net/note/reject/71591
Search -- https://master.php.net/manage/user-notes.php