Reply to Re: [PHP] How large string in cookie?

Your name:

Reply:


Posted by Philip Hallstrom on 09/09/05 04:38

> How large can a string be in a cookie? (the value-parameter)

According to here: http://wp.netscape.com/newsref/std/cookie_spec.html

There are limitations on the number of cookies that a client can store at
any one time. This is a specification of the minimum number of cookies
that a client should be prepared to receive and store.

* 300 total cookies
* 4 kilobytes per cookie, where the name and the OPAQUE_STRING combine
to form the 4 kilobyte limit.
* 20 cookies per server or domain. (note that completely specified
hosts and domains are treated as separate entities and have a 20 cookie
limitation for each, not combined)

Servers should not expect clients to be able to exceed these limits. When
the 300 cookie limit or the 20 cookie per server limit is exceeded,
clients should delete the least recently used cookie. When a cookie larger
than 4 kilobytes is encountered the cookie should be trimmed to fit, but
the name should remain intact as long as it is less than 4 kilobytes.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация