• 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: Creating a NSHTTPCookie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Creating a NSHTTPCookie (From: Chris <email@hidden>)

  • Prev by Date: Re: Integer as key in NSMutableDictionary
  • Next by Date: Re: Why is -makeWindowControllers getting called twice?
  • Previous by thread: Creating a NSHTTPCookie
  • Next by thread: Creating a NSHTTPCookie
  • Index(es):
    • Date
    • Thread