php - How many values can be stored in $_COOKIE[] on the client for a website? -


What values ​​can I store in setcookie? What is the limit?

I think the maximum size of cookies depends on the browser.

<50>
  • Host or domain name Set at least 20 cookies - Cookie2 headers include cookie non-terminal in the syntax details,

    / edit: Another interesting

    • For IE, Value and Equal Symbols IE 7/850 domains per cookie and 40 9 5 characters.
    • Firefox 50 cookies and 4097 characters
    • Opera 50 cookies and 4096 characters
    • Safari / WebKit unlimited cookies and 4097 characters
    < / Blockquote>

    Comments

    Popular posts from this blog

    c# - How to capture HTTP packet with SharpPcap -

    php - Multiple Select with Explode: only returns the word "Array" -

    php - jQuery AJAX Post not working -