WOCookie value() returns quoted/parenthesized string not string
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