Questions about the number and size of COOKIE_javascript skills
May 16, 2016 pm 06:11 PMTo be honest, I rarely pay attention to this issue in my daily use of JS and rarely use cookies, so I was dumbfounded when I was asked this time. I couldn't explain why, so in the end I just said: I can honestly admit that I don’t know much about the operation of this cookie. Today, a colleague asked about cookies again, so I checked online and made some relevant summaries and recorded them for future reference. As a JS programmer, you should be relatively familiar with the operation of cookies, so I won’t explain it too much.
The following are the different restrictions on cookies between browsers:
IE6.0
|
IE7.0/8.0 |
Opera |
FF |
Safari |
Chrome |
||||||||||||||||||||||
Number of cookies: |
20 for each domain |
50 for each domain |
30 for each domain |
50 for each domain |
No limit on number |
53 for each domain |
|||||||||||||||||||||
Total cookie size: |
4095 bytes |
4095 bytes |
4096 bytes |
4097 bytes |
4097 bytes |
4097 bytes |

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Where are the cookies on your computer?
![How to increase disk size in VirtualBox [Guide]](https://img.php.cn/upload/article/000/887/227/171064142025068.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
How to increase disk size in VirtualBox [Guide]

What are the dangers of cookie leakage?

Detailed explanation of where browser cookies are stored

Does clearing cookies have any impact?
