Global Variable

NSHTTPCookieValue

An NSString object containing the value of the cookie.

Declaration

const NSHTTPCookiePropertyKey NSHTTPCookieValue;

Discussion

This cookie attribute is required.

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).

NSHTTPCookieOriginURL

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

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.

NSHTTPCookieVersion

An NSString object that specifies the version of the cookie.