Update to Internet Explorer's Cookie Jar As a part of the August Cumulative Update for Internet Explorer, a small enhancement was made to Internet Explorer?s HTTP Cookie handling. This post describes that enhancement, and presents some other considerations for using cookies on your site. A knowledge base article referencing this change can be found here.
Background
In the past, IE?s cookie jar stored a maximum of 20 cookies per domain. If more than 20 cookies were sent by the server, older cookies were automatically dropped by the browser. The dropped cookies could lead to lost website settings, an empty web shopping basket, or similar problems. In order to store more than 20 name-value pairs per domain, web developers were forced to create a ?dictionary cookie?, a single cookie that contains multiple name-value pairs. Creation of dictionary cookies is described in this Knowledge Base article.
Note that IE?s cookie limit is applied on per-domain basis. If
http://example.com sets 20 cookies, each with Domain=example.com, and
http://subdomain.example.com also sets 20 cookies, each with Domain=subdomain.example.com, then 40 cookies will be sent on subsequent requests to subdomain.example.com.
New Cookie Limit
As a part of the Internet Explorer update announced yesterday, the cookies per domain limit has been increased from 20 to 50. This change was made to simplify the development and hosting of web applications on domains that use a large number of cookies.Â
Please note that even after installing this update, two other cookie limits remain unchanged:
The DOM's document.cookie property will return an empty string if the current cookie string is longer than 4096 bytes
Internet Explorer (and the WinINET HTTP stack) will ignore any Set-Cookie header if the header value's length exceeds 5118 bytes
For functionality and performance reasons (discussed next), it?s recommended that you continue to use the smallest cookies possible. Continue At Source
Continue to this article at Bink.nu
http://bink.nu/Article11041.bink