Cookie restrictions in various browsers (transferred from iamued)

Source: Internet
Author: User
Cookie restrictions in various browsers (transferred from iamued)


* Note ①: including key and value, as well as semicolons and equal signs
* Note ②: the total number of bytes is also affected by the setting of the HTTP server;
Apache uses these two parameters to adjust:
Limitrequestfieldsize limits the number of bytes in the request header sent by the client. The default value is 8190]
Limitrequestline limits the number of bytes of HTTP Request lines sent by the client. [Default: 8190]
When the cookie exceeds the server's configured size, 400 bad request will appear.

Conclusion: We should ensure the number of cookie keys <= 20, single key bytes <= B, total number of bytes <= B

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.