http://www.perlmonks.org?node_id=184455


in reply to XML & Cookies

If you are passing a large amount of XML data into the cookie it might be the problem. According to Cookie Central's FAQ there is a 4k size limit on HTTP Headers, which Cookies are a part of. Granted, 4k is massive for a header, but, passing XML data via a cookie could hit that pretty easily I suppose.

As I stated as a reply to your other post today there might be other ways of accomplishing that you are after. Having XML stored locally could get really out of hand from a security stand point.

How about you give us a full overview of what you are trying to do, and we will offer you some advice on the best way to do it overall.