Contents

discard

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

Declaration

static let discard: HTTPCookiePropertyKey

Discussion

String value must be either "TRUE" or "FALSE". This cookie attribute is optional. The default is "FALSE", unless this cookie is version 1 or greater and a value for NSHTTPCookieMaximumAge is not specified, in which case it is assumed to be "TRUE".

See Also

Cookie property keys