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.

Replies are listed 'Best First'.
Re: Re: XML & Cookies
by Tomte (Priest) on Jul 23, 2002 at 21:12 UTC
    there is a 4k size limit on HTTP Headers, which Cookies are a part of.

    And depending on the browser on the client side you won't even have 4k.
    I can't remember if it was netscape 4 or IE 5, but one of them stored only up to 1k. Anoying behaviour, as the cookie-content was carefully crafted not to exceed 4k, but relied on having at least that much

    Just to share the experience ;-)
Re: Re: XML & Cookies
by hotshot (Prior) on Jul 24, 2002 at 07:45 UTC
    the thing I'm trying to do is filling a client page with user's data (using JavaScript) and send it back to the server through a cookie using XML format, the volume of the user's data is quite big(but yet less then 4k !!!) so I prefer to send it via cookie instead of POST or GET in order to achieve faster performances