Re: Cookie problem

From: Date: Wed, 16 Aug 2000 15:14:41 +0000
Subject: Re: Cookie problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12029@lists.php.net to get a copy of this message
in regard to limitation of number of cookies, here's the HTTP spec: 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 kilobte 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. hope this helps. :) ---------------- remco chang bountyquest.com On Tue, 15 Aug 2000, Paulson, Joseph V. "Jay" wrote: > Hello everyone-- > > I'm making a huge form that people access and fill out. The thing is that I > am having to check every field to make sure they are entering the correct > information spanning 4 pages. So I thought I would use cookies instead of > having to pass a ton of hiddens throughout the program. However, I am > running into some problems with some cookies not being set etc. The only > thing that I can think of is that there might be some kind of limit for the > amount of cookies that a page can handle, but I'm not sure if that's the > case. Anyway, my question: is there a limit for the number of cookies that > a page and process? or is the number of cookies that are used determined by > the settings in IE or Netscape? > > If at all possible I want to try and stay away from having to pass all the > variables through the hidden types. > > Thanks, > Jay Paulson > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#12029) next »