Re: StringIndexOutOfBoundsException and cookies
Re: StringIndexOutOfBoundsException and cookies
- Subject: Re: StringIndexOutOfBoundsException and cookies
- From: arturo <email@hidden>
- Date: Mon, 19 Jan 2004 16:34:28 -0500
----- Original Message -----
From: "Kaj Hejer" <email@hidden>
> We get some more info:
>
> Application.handleMalformedCookieString:cookieString:
> edmode=1; tittel=Nye bxker i sosiologi juni 2003;
> tema=bibliotek; enhet.id=humsam; spraak=no-bok;
> redaksjon.navn=Kaj Hejer;
> redaksjon.epost=email@hidden;
> redaksjon.vev=
>
Are you URL-encoding your cookie values? I remember (vaguely) that when we
switched
versions of WO, and/or TomCat and/or Apache that the cookies went from being
automatically
url-encoded to not being automatically url-encoded.
So, if the above is a raw cookie string dump then it is a malformed cookie.
Cookie values, unless
encoded, may not contain spaces and a bunch of other things. So, try
encoding and decoding
and hopefull that will fix your problem.
-arturo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.