• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: StringIndexOutOfBoundsException and cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: StringIndexOutOfBoundsException and cookies
      • From: Kaj Hejer <email@hidden>
References: 
 >StringIndexOutOfBoundsException and cookies (From: Kaj Hejer <email@hidden>)

  • Prev by Date: RE: Newbiw question: adding EOModel to project
  • Next by Date: Re: StringIndexOutOfBoundsException and cookies
  • Previous by thread: StringIndexOutOfBoundsException and cookies
  • Next by thread: Re: StringIndexOutOfBoundsException and cookies
  • Index(es):
    • Date
    • Thread