IE9和IE 10的cookie大小限制是多少?

时间:2013-05-23 21:36:24

标签: internet-explorer cookies

我知道对于遵循RFC 2109的IE 8,它是4kb。 IE 9和IE 10是否相同?

1 个答案:

答案 0 :(得分:5)

相关问题:


IE10

每个cookie的最大尺寸:5117个字符

每个域的最大大小:10234个字符

IE 9

(信息缺失)


根据这个网站(http://browsercookielimits.squawky.net/)(mirror here)IE8,9和10的行为方式相同。

怀疑这可能已经过时了,我用我的IE版本(10.0.9200.16580)进行了测试并得到了相当一致的结果:

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

来源: