<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1017043" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1017043</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099360</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
And then get your script to split these fields
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yeah, that&#039;s what I do right now, but I want more &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
My cookiefile looks something like this:&lt;br /&gt;
Cookie.name1|status1&lt;br /&gt;
Cookie.name2|status2&lt;br /&gt;
Cookie.name3|status3&lt;br /&gt;
etc... until 20. &lt;/p&gt;
&lt;p&gt;But I want it to be:&lt;br /&gt;
Cookie.name1|status1&lt;br /&gt;
Cookie.name2|status2&lt;br /&gt;
Cookie.name3|status3&lt;br /&gt;
etc... until more than 20. &lt;/p&gt;
&lt;p&gt;CONTEXT:&lt;br /&gt;
It&#039;s the user who defines the value for cookie.name[i] and I let him select his desired status by placing all available cookie.names in a . But I want him to choose out of more than 20 statusses (what&#039;s the plural of &#039;status&#039; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/confused.png&quot; title=&quot;Confused&quot; alt=&quot;Confused&quot; class=&quot;smiley-content&quot; /&gt; ), but it seems like that&#039;s pretty impossible.&lt;/p&gt;
&lt;p&gt;Gonna look after your &#039;sub-domain solution&#039; though &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thanx for the links!&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 15:14:42 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1099360 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099349</link>
    <description> &lt;p&gt;Yes. As far as I know, anyway. Not sure how updated this information is. Couldn&#039;t find any RTF on the subject.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.cookiecentral.com/faq/#4.7&quot; class=&quot;bb-url&quot;&gt;http://www.cookiecentral.com/faq/#4.7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ZDNet also backs up this claim =&amp;gt; &lt;a href=&quot;http://www.zdnet.com/devhead/stories/articles/0,4413,1600620,00.html&quot; class=&quot;bb-url&quot;&gt;http://www.zdnet.com/devhead/stories/articles/0,4413,1600620,00.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What you do then is to load one cookie with loads of different information deliminated by a given field. As in.&lt;/p&gt;
&lt;p&gt;user|password|status&lt;/p&gt;
&lt;p&gt;And then get your script to split these fields. This saves up on the amount of cookies you use. A little extra work, but the only known workaround I think.&lt;/p&gt;
&lt;p&gt;Or you could try fooling the brwoser by sending cookies to different sub-domains, like it says in the URL above.&lt;/p&gt;
&lt;p&gt;HTH.&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 13:41:46 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1099349 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099343</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
 I know that you can only set a maximum of 20 cookies per domain, if that&#039;s what you&#039;re asking.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;YES! That&#039;s what I&#039;m asking, sorry for not being specific enough &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/surprise.png&quot; title=&quot;Shocked&quot; alt=&quot;Shocked&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thanx for the answers! So 20 is the real limit?&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 12:30:05 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1099343 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099342</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: by JM: My question was actually if it is possible to store more than 20 key values in a cookie?
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I actually answered the question in the first line of the reply!&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: by D: A cookie can hold a maximum of 4096 bytes (4 KB) so however much you can fit into that is the maximum I guess. &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;meaning if you can fit 20 key values into a cookie then go ahead, but the limit is 4kb, you should be able to fit in a fair bit. What I was saying was there is a size limit not a maximum number of values limit with cookies.  &lt;/p&gt;
&lt;p&gt;The rest of the reply was for everyone else who is considering using cookies for state management, and I think there are better ways of doing so.&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 12:14:42 +0000</pubDate>
 <dc:creator>detox</dc:creator>
 <guid isPermaLink="false">comment 1099342 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099340</link>
    <description> &lt;p&gt;I know that you can only set a maximum of 20 cookies per domain, if that&#039;s what you&#039;re asking.&lt;/p&gt;
&lt;p&gt;If you find yourself reaching this limit, load one cookie with some infromation deliminated by a given field then use your script to deliminate the stored infrormation.&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 11:02:36 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1099340 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099338</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by detox &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
What I would suggest is have a key value in a cookie (if that is what you want to maintain state with) and store the details in a db. That way you are not having to worry about the other issues that come with overuse of cookies. &lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Actually that is what I have. My question was actually if it is possible to store more than 20 key values in a cookie?&lt;br /&gt;
Sorry for making that not clear in the first post.&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 10:33:18 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1099338 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/cookies-maxvalue#comment-1099303</link>
    <description> &lt;p&gt;A cookie can hold a maximum of 4096 bytes (4 KB) so however much you can fot into that is the maximum I guess. I would stay away from putting too much into a cookie though..&lt;/p&gt;
&lt;p&gt;This is taken from a reference book i have.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
....suppose you store 2kb of info in a cookie and update that cookie in each request. If you had 100 concurrent users you would create a bandwidth overhead of 4mb over and above the page content....
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;What it is basically saying is that depending too much on cookies for state management creates huge overheads. You can have a hell of a lot of values in a cookie but if you are servicing a lot of users, it is not worth the cost in bandwidth. &lt;/p&gt;
&lt;p&gt;What I would suggest is have a key value in a cookie (if that is what you want to maintain state with) and store the details in a db. That way you are not having to worry about the other issues that come with overuse of cookies.&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Jan 2002 02:24:13 +0000</pubDate>
 <dc:creator>detox</dc:creator>
 <guid isPermaLink="false">comment 1099303 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
