Global Variable

NSHTTPCookieOriginURL

An NSURL or NSString object containing the URL that set this cookie.

Declaration

const NSHTTPCookiePropertyKey NSHTTPCookieOriginURL;

Discussion

If you do not provide a value for NSHTTPCookieOriginURL, you must provide a value for NSHTTPCookieDomain.

See Also

Cookie Property Keys

NSHTTPCookieComment

An NSString object containing the comment for the cookie.

NSHTTPCookieCommentURL

An NSURL object or NSString object containing the comment URL for the cookie.

NSHTTPCookieDiscard

An NSString object stating whether the cookie should be discarded at the end of the session.

NSHTTPCookieDomain

An NSString object containing the domain for the cookie.

NSHTTPCookieExpires

An NSDate object or NSString object specifying the expiration date for the cookie.

NSHTTPCookieMaximumAge

An NSString object containing an integer value stating how long in seconds the cookie should be kept, at most.

NSHTTPCookieName

An NSString object containing the name of the cookie (required).

NSHTTPCookiePath

An NSString object containing the path for the cookie.

NSHTTPCookiePort

An NSString object containing comma-separated integer values specifying the ports for the cookie.

NSHTTPCookieSecure

An NSString object indicating that the cookie should be transmitted only over secure channels.

NSHTTPCookieValue

An NSString object containing the value of the cookie.

NSHTTPCookieVersion

An NSString object that specifies the version of the cookie.