Re: Creating a NSHTTPCookie
Re: Creating a NSHTTPCookie
- Subject: Re: Creating a NSHTTPCookie
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 4 May 2009 15:03:29 -0600
On May 4, 2009, at 12:58 AM, Chris wrote:
When I try to set the newly created cookie to the
sharedHTTPCookieStorage it doesn't ever get set. Am I doing
something wrong?
Possibly. From the -setCookie: documentation:
"This method will accept the cookie only if the receiver’s cookie
accept policy is NSHTTPCookieAcceptPolicyAlways or
NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain. The cookie will be
ignored if the receiver’s cookie accept policy is
NSHTTPCookieAcceptPolicyNever."
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden