C-DEngine 5.105

Cookie Members

The Cookie type exposes the following members.

Constructors


  Name Description
Public method Cookie()()()()
Initializes a new instance of the Cookie class.
Public method Cookie(String, String)
Initializes a new instance of the Cookie class with the specified name and value.
Public method Cookie(String, String, String)
Initializes a new instance of the Cookie class with the specified name, value, and path.
Public method Cookie(String, String, String, String)
Initializes a new instance of the Cookie class with the specified name, value, path, and domain.

Methods


  Name Description
Public method Equals(Object)
Determines whether the specified Object is equal to the current Cookie.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a Cookie object.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString
Returns a String that represents the current Cookie.

Properties


  Name Description
Public property Comment
Gets or sets the value of the Comment attribute of the cookie.
Public property CommentUri
Gets or sets the value of the CommentURL attribute of the cookie.
Public property Discard
Gets or sets a value indicating whether the client discards the cookie unconditionally when the client terminates.
Public property Domain
Gets or sets the value of the Domain attribute of the cookie.
Public property Expired
Gets or sets a value indicating whether the cookie has expired.
Public property Expires
Gets or sets the value of the Expires attribute of the cookie.
Public property HttpOnly
Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
Public property Name
Gets or sets the Name of the cookie.
Public property Path
Gets or sets the value of the Path attribute of the cookie.
Public property Port
Gets or sets the value of the Port attribute of the cookie.
Public property Secure
Gets or sets a value indicating whether the security level of the cookie is secure.
Public property TimeStamp
Gets the time when the cookie was issued.
Public property Value
Gets or sets the Value of the cookie.
Public property Version
Gets or sets the value of the Version attribute of the cookie.