What is the number and size of cookies allowed by major browsers?

后端 未结 3 1314
抹茶落季
抹茶落季 2020-12-20 16:19

Just wondering what is the size and number of cookies allowed by IE, FF, Chrome, and Safari. What is the number allowed per host and the size of each cookie? Also what would

3条回答
  •  不知归路
    2020-12-20 16:39

    It varies from browser to browser. The biggest limitation is IE6 which can only accept 20 domain cookies (all other modern browsers [FF3+, IE7/8, Safair 4/5, Chrome] can accept much much more). Once IE6 reaches it's 20 cookie limit, it randomly overwrites an older cookie, which is a major concern since you'll never know which one got removed.

    If you like the run some specific tests -- visit this blog post and experiment with the authors test scripts.

    http://www.ghacks.net/2008/08/16/browser-cookie-limits/

    Hope that helps.

提交回复
热议问题