System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object Represents an HTTP Cookie.

You can use cookies to store information on the client browser that will be provided in subsequent calls to the site. This can be useful to pass information across pages, or to store small bits of information that might be useful at a later time in the use of the web application

You could use it for example to store a transient user preference ("favorite color", "default action when replying to an email" and so on).

Once constructed, the cookie can be send to the client by calling the method. This must be done before any input is sent back to the client.

- Constructor
  The name of the cookie.
  Creates a cookie.
  The cookie is created with an empty value ("").
  1.0.5000.0
  2.0.0.0
- Constructor
  The name of the cookie.
  The value of the cookie.
  Creates a cookie with a given value.
  Creates a cookie with the given name and value.
  1.0.5000.0
  2.0.0.0
- Property
  System.String The domain for which the cookie is valid. The current value of the domain. The default value is null.

  This is an optional parameter for cookies, and by default the value of this property is null.

  The value for the Path attribute is not a prefix of the request- URI.
  The value for the Domain attribute contains no embedded dots or does not start with a dot.
  The value for the request-host does not domain-match the Domain attribute.
  The request-host is a FQDN (not IP address) and has the form HD, where D is the value of the Domain attribute, and H is a string that contains one or more dots.

  Examples:

  A Set-Cookie from request-host y.x.foo.com for Domain=.foo.com would be rejected, because H is y.x and contains a dot.
  A Set-Cookie from request-host x.foo.com for Domain=.foo.com would be accepted.
  A Set-Cookie with Domain=.com or Domain=.com., will always be rejected, because there is no embedded dot.
  A Set-Cookie with Domain=ajax.com will be rejected because the value for Domain does not begin with a dot.
  1.0.5000.0
  2.0.0.0
- Property
  System.DateTime Controls the expire date and time of the cookie. The time and day when when the cookie will expire on the client. If this property isn't set, its value should be set to System.DateTime.MinValue, meaning that the cookie will expire as soon as the browser closes. 1.0.5000.0 2.0.0.0
- Property
  System.Boolean Whether any key/value pairs have been set on the cookie. To be added: an object of type 'bool' To be added 1.0.5000.0 2.0.0.0
- Property
  2.0.0.0
  System.Boolean To be added. To be added. To be added.
- Property
  System.String `` To be added: an object of type 'string' To be added To be added: an object of type 'string' To be added 1.0.5000.0 2.0.0.0
- Property
  System.String The name for the cookie. The cookie name. Sets and resets the name of the cookie. 1.0.5000.0 2.0.0.0
- Property
  System.String The subset of URLs to which this cookie applies. The current path value, by default it is "/".

  The Path attribute specifies the subset of URLs to which this cookie applies.

  The value for the Path attribute will be ignored is not a prefix of the request-URI (see RFC 2109 for details).

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean Controls if the cookie is to be sent only using secure (encrypted) connections, meaning using SSL (HTTPS). True if the value was transmited over a secure connection. The transmission of cookies using SSL can be set using web.config for the application as a default, as setting programmatically this property will override the value set in web.config. 1.0.5000.0 2.0.0.0
- Property
  System.String The value of the cookie. The current value stored in the cookie. The current cookie value, this does not include any other properties, for those you must use the property accessors. 1.0.5000.0 2.0.0.0
- Property
  System.Collections.Specialized.NameValueCollection To be added a To be added 1.0.5000.0 2.0.0.0