Search code examples
internet-explorercookies

What is the cookie size limitation for IE9 and IE 10?


I know that for IE 8 following RFC 2109 it is 4kb. Is it the same for IE 9 and IE 10?


Solution

  • Related questions:


    IE10

    Max size per cookie: 5117 chars

    Max size per domain: 10234 chars

    IE 9

    (info missing)


    According to this site (http://browsercookielimits.iain.guru/) (mirror here) IE8, 9 and 10 behave in the very same way.

    In the doubt that this may be outdated, I ran the test with my version of IE (10.0.9200.16580) and got pretty consistent results:

    17:34:29.657: Starting
    17:34:29.706: Max Cookies with Character Length 3 and character "1": 50
    17:34:30.776: Max Cookie Character Length using character "1": 5117
    17:34:30.854: Max Cookies with Character Length 5117 and character "1": 2
    17:34:31.911: Max Cookie Character Length using character "ÿ": 5117
    17:34:31.985: Max Cookies with Character Length 5117 and character "ÿ": 2
    17:34:32.66: Max Cookies with Character Length 100 and character "1": 50
    17:34:32.148: Max Cookies with Character Length 10 and character "1": 50
    17:34:32.228: Max Cookies with Character Length 5 and character "1": 50
    17:34:32.273: Guessing Max Cookie Count Per Domain: 50
    17:34:32.279: Guessing Max Cookie Size Per Cookie: 5117 characters
    17:34:32.284: Guessing Max Cookie Size Per Domain: Between 10234 and 15350 characters
    17:34:43.479: Starting to get Accurate Max Size Per Domain, may take awhile
    17:34:45.539: Max Cookies Size Per Domain: 10234
    17:34:45.579: Guessing Max Cookie Size Per Domain: 10234 characters
    

    Sources: