Cookie Properties

Cookie Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Cookie type exposes the following members.

  NameDescription
Public property Comment Gets or sets an optional comment that provides the intended use of the cookie.
Public property CommentUri Gets or sets a Uniform Resource Identifier (URI) comment that the server provides for this Cookie.
Public property Discard Gets or sets a values that indicates whether the client is to discard the Cookie at the end of the current session.
Public property Domain Gets or sets the domain of a Uniform Resource Identifier (URI) for which the cookie is valid.
Public property Expired Gets or sets a values that indicates whether this Cookie is no longer valid.
Public property Expires Gets or sets the expiration date and time for the Cookie.
Public property HttpOnly Gets or sets a value that indicates whether a page script or other active content can access this cookie.
Public property Name Gets or sets the name of this cookie.
Public property Path Gets or sets the path portion of a Uniform Resource Identifier (URI) to which this cookie applies.
Public property Port Gets or sets a list of Transmission Control Protocol (TCP) ports to which this cookie applies.
Public property Secure Gets or sets a value that indicates whether including the cookie on subsequent client requests requires the request be sent with Secure Hypertext Transport Protocol (HTTPS).
Public property TimeStamp Gets the date and time that this Cookie was created.
Public property Value Gets or sets the value of the Cookie.
Public property Version Gets or sets a single digit that indicates the version of HTTP state maintenance to which the cookie conforms.
Top

Show:
© 2017 Microsoft