Cookies are limited to a certain maximum length, which is 4K. Once you write past the 4K limit, the browser will not recognize any more information in the cookie. I don't know what the HTTP::Cookie module will do, in that case. If it meets spec, it will truncate your cookie data to 4K. CookieCentral has some good information on this.