What is The Maximum Size of Cookie in a Web Browser
What Is HTTP Cookie?
An HTTP cookie is a small piece of data containing sent data from a website and stored in the user's web browser at the time of browsing. A HTTP Cookie is also Known as-
- Web cookie
- Browser cookie
- Internet cookie
- cookie
Maximum Size of Cookies:
The size of a cookie contains entire cookie, including name, value, expiry date etc. A cookie can contains data upto 4096 Bytes only that is the maximum size of a cookie which can be.If you want to support most browsers, then do not exceed 50 cookies per domain, and 4093 bytes per domain. That is, the size of all cookies should not exceed 4096 bytes.
This means you can have 1 cookie of 4096 bytes, or 2 cookies of 2048 bytes per each...
Remember: Cookies are usually limited to 4096 bytes and you can't store more than 20 cookies per website.
Comments
Post a Comment