This documentation is archived and is not being maintained.

Cookie Properties

The Cookie type exposes the following members.

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