IE and Cookie size limitation

IE and Cookie size limitation

Post by lilu » Wed, 20 Aug 2003 16:15:14

Hi All,

I would like to know if there is any limitation in cookie
size IE.

As per the cookie documentation, I can able to save 20
cookie per domain and each cookie size is 4K.

But I observed that it allows only 4K of total cookie
size per domian. For example if I have 2 cookies
cookie_name1 and cookie_name2, then it allows 4K of total
data for both cookie. If I save more than 4k of data then
try to read cookie using document.cookie, it returns me

Please let me know if it is IE browser limitation, if so
why there is no documentation for the same.


1. Is there a page limitation / file size limitation in Word 2003?

2. Bug report for IE 7, IE 8, (probably IE 6) Domain Cookies Not Set

IE seems to have had lots of problems with domain cookies over the years.
I've found a new one. If the host name in contains an '_' domain cookies will
net be set in the browser.

It is really hard to see why IE has these issues cookie issues - my favorite
one was that IE 7 wouldn't allow you to set a cookie if the domain name had
an odd number of characters. Why not simply use case insensitive string
comparison when checking to see if a host matches a domain and be done with
it. It's what Chrome and Firefox do, and they work.

Glenn Sills

This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

3. Bug report for IE 7, IE 8, (probably IE 6) Domain Cookies Not

4. How to see Cookies and Cookies values in IE

5. Why in IE 8 Cookie gets updated after disabling cookie status?

6. IE 6.0 Privacy Settings of 'Block All Cookies' doesn't block cookies??!!

7. Cookies/no cookies and IE Version

8. class size or file size limitations: NONTRIVIAL BUG

9. g++: class size or file size limitations: NONTRIVIAL BUG

10. RRSet size limitation lower than predicted by RDLENGTH field size

11. need to clear cookies in IE using perl Win 32 IE automation

12. Migrating cookies from IE on OS 9.x to IE 5 on OS X

13. Going sessionless (and cookie limitations)

14. Working around the single cookie limitation of IDispEventImpl

15. girl scout cookie price per box girl scout cookie all abouts girl scout cookie copycat recipes