Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Cookie Properties

The Cookie type exposes the following members.

  Name Description
Public property Supported by Portable Class Library Comment Gets or sets a comment that the server can add to a Cookie.
Public property Supported by Portable Class Library CommentUri Gets or sets a URI comment that the server can provide with a Cookie.
Public property Supported by Portable Class Library Discard Gets or sets the discard flag set by the server.
Public property Supported by Portable Class Library Domain Gets or sets the URI for which the Cookie is valid.
Public property Supported by Portable Class Library Expired Gets or sets the current state of the Cookie.
Public property Supported by Portable Class Library Expires Gets or sets the expiration date and time for the Cookie as a DateTime.
Public property Supported by Portable Class Library HttpOnly Determines whether a page script or other active content can access this cookie.
Public property Supported by Portable Class Library Name Gets or sets the name for the Cookie.
Public property Supported by Portable Class Library Path Gets or sets the URIs to which the Cookie applies.
Public property Supported by Portable Class Library Port Gets or sets a list of TCP ports that the Cookie applies to.
Public property Supported by Portable Class Library Secure Gets or sets the security level of a Cookie.
Public property Supported by Portable Class Library TimeStamp Gets the time when the cookie was issued as a DateTime.
Public property Supported by Portable Class Library Value Gets or sets the Value for the Cookie.
Public property Supported by Portable Class Library Version Gets or sets the version of HTTP state maintenance to which the cookie conforms.
Top
Show:
© 2015 Microsoft