• 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
WOCookie value() returns quoted/parenthesized string not string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOCookie value() returns quoted/parenthesized string not string


  • Subject: WOCookie value() returns quoted/parenthesized string not string
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Wed, 28 Sep 2005 10:25:05 -0700

When I look at the cookie and when I set it, the value is <WA>

But when I do:

cookie = (WOCookie)allCookies.objectAtIndex(i);
if ( cookie.name().equals("state")) curStateName = cookie.value();


I see in the log

setRegionFromCookies-> 0 ** <com.webobjects.appserver.WOCookie name=state value=("WA") path=null domain=null isSecure=false>

and curStateName is <("WA")> not <WA>, which means everything fails from that point on.

----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: WOCookie value() returns quoted/parenthesized string not string
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: java process not executing command
  • Next by Date: Re: WOCookie value() returns quoted/parenthesized string not string
  • Previous by thread: Suggestions for secure web services direction?
  • Next by thread: Re: WOCookie value() returns quoted/parenthesized string not string
  • Index(es):
    • Date
    • Thread