Top "Nshttpcookie" questions

An NSHTTPCookie object represents an HTTP cookie.

Problem with NSRange

I'm having a problem with NSRange. Here is my code: NSRange range = [[[NSHTTPCookie requestHeaderFieldsWithCookies:[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:[NSURL URLWithString:cookie]]] …

iphone nsrange nshttpcookie
NSHTTPCookieStorage state not saved on app exit. Any definitive knowledge/documentation out there?

Struggling with this problem and loath to implement a custom cookie management system. It appears some hidden level of iOS's …

objective-c ios cookies nshttpcookie
Shared instance of NSHTTPCookieStorage does not persist cookies

I'm developing an application where the server hands me a cookie to identify the user. My successive requests need to …

iphone ios ios5 nshttpcookie
Clear iPhone simulator cookies

I have an app that makes request to a REST service. Authentication is done using cookies. This already works. What …

iphone nshttpcookie
AFNetworking Persisting Cookies Automatically

In: This Question it is said AFNetworking takes care of cookies automatically in the background, but in a Previous question …

ios session afnetworking nshttpcookie
Accessing session cookies with NSHTTPCookieStorage

I'm accessing a server's secure information and it sends a bunch of cookies to the App on request. The problem …

iphone cookies jsessionid nshttpcookie
NSHTTPCookieStorage and Cookie Expiration Date

In our iPhone app we use two cookies during server communication. One is a short session cookie (JSESSION), and the …

iphone objective-c nshttpcookie
Setting cookie in NSHTTPCookieStorage

I am trying to take a cookie from NSHTTPCookieStorage and use it for another URL within my App. I am …

objective-c nshttpcookie