Hi, I'm trying to create a cookie and it's not working. This is what I do:
NSDictionary *properties = [NSDictionary dictionaryWithObjectsAndKeys:
@".myurl.com", NSHTTPCookieOriginURL,
@"\\", NSHTTPCookiePath,
@"myCookieName", NSHTTPCookieName,
@"ABC", NSHTTPCookieValue,
nil];
NSHTTPCookie *cookie = [NSHTTPCookie cookieWithProperties:properties];
So far it works perfectly. BUT - when I replace the cookie value (bold line) with
self._myNSStringProperty, NSHTTPCookieValue,
it simply doesn't work. The cookie isn't created. I've checked it a hundret times now. My NSString property is filled.
Any ideas what's going wrong here?
Thanks for help.