8
When investigating about cookies and their limitations, I came across this Microsoft page where they talk about Internet Explorer and its capabilities regarding Cookies:
Size and number limits of a cookie in Internet Explorer
Microsoft Internet Explorer complies with the following RFC 2109 recommended minimum limitations:
- at least 300 cookies
- at least 4096 bytes per cookie (as measured by the size of the characters that make up the terminal in the description of the Set-Cookie header syntax)
- at least 20 cookies per host name or exclusive domain
I also saw the rules:
- RFC2109 of Feb-1997, more specifically the section 6.3 Implementation Limits (English)
- RFC2965 of Oct-2000 more specifically the section 5.3 Implementation Limits (English)
that establish the basic behavior to standardize the use and availability of cookies in the various browsers available, where in summary speak that browsers limited at least make available what was already mentioned in the above mentioned article.
However, I have not been sufficiently clear about a acceptable number of cookies that will work in all most used browsers (English), as well as the maximum size that each cookie may contain in order to ensure that there will be no data loss in the application.
There is doubt about the most used browsers (IE, FF, Chrome and Safari), whether they will be governed by the minima mentioned above, or indeed we have a little more leeway for the use of cookies from the same domain.
Similarly, when they refer to domain in the standards presented, are saying that www.site.com is different from app.site.com, or the limits will have to be shared by both?
Question
Assuming a scenario of the kind:
www.mysite.com
Institutional web-siteapp.mysite.com
Desktop appm.mySite.com
Version mobile of the institutional web-sitecdn.mysite.com
CDN serving shared images and resources to those listed above
What can be counted on in terms of number of cookies and their value in bytes to ensure that the solution to the *.mySite.com
will work?
My Chrome supports approximately 120 cookies. I realized this a few days ago after accessing a website where, for each page accessed, a cookie was set. After a while, I could no longer access the site. After clearing some cookies, I was able to access until the limit was reached again.
– utluiz