Kunal Yadav
Kunal Yadav

Reputation: 109

iphone + cookies

Does iphone support cookies????

Upvotes: 1

Views: 478

Answers (3)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038770

iPhone is simply a piece of hardware so, no it doesn't support cookies. It's the built-in Safari web browser which supports cookies.

Upvotes: 4

Naveed
Naveed

Reputation: 42093

Look at: NSHTTPCookie and NSHTTPCookieStorage

URL Loading System Overview says:

The NSHTTPCookie class encapsulates a cookie, providing accessors for many of the common cookie attributes. It also provides methods to convert HTTP cookie headers to NSHTTPCookie instances and convert an NSHTTPCookie instance to headers suitable for use with an NSURLRequest. The URL loading system automatically sends any stored cookies appropriate for an NSURLRequest. unless the request specifies not to send cookies. Likewise, cookies returned in an NSURLResponse are accepted in accordance with the current cookie acceptance policy.

The NSHTTPCookieStorage class provides the interface for managing the collection of NSHTTPCookie objects shared by all applications.

Upvotes: 3

m.edmondson
m.edmondson

Reputation: 30872

Any modern browser can't survive without supporting cookies

Upvotes: 2

Related Questions