Re: Creating a NSHTTPCookie

2009-05-04 Thread Nick Zitzmann
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 accep

Creating a NSHTTPCookie

2009-05-04 Thread Chris
Hello, I'm trying to create a NSHTTPCookie with this code: //dictionary of attributes for the new cookie NSDictionary *newCookieDict = [NSMutableDictionary dictionaryWithObjectsAndKeys:@".example.com", NSHTTPCookieDomain,

Creating a NSHTTPCookie

2009-05-04 Thread Chris
Hello, I'm trying to create a NSHTTPCookie with this code: //dictionary of attributes for the new cookie NSDictionary *newCookieDict = [NSMutableDictionary dictionaryWithObjectsAndKeys:@".example.com", NSHTTPCookieDomain,