Cookie
Wisej.Base.Cookie
Last updated
Wisej.Base.Cookie
Last updated
Namespace: Wisej.Base
Assembly: Wisej.Framework (3.1.0.0)
Represents an individual HTTP cookie.
Creates a new instance of Cookie.
Creates a new instance of Cookie.
Creates a new instance of Cookie.
Name | Type | Description |
---|---|---|
name | The name of the cookie. | |
value | The value of the cookie. | |
domain | The domain, or partial domain, associated with the cookie. |
Creates a new instance of Cookie.
Name | Type | Description |
---|---|---|
name | The name of the cookie. | |
value | The value of the cookie. | |
expires | The expiration date/time of the cookie. |
Creates a new instance of Cookie.
Name | Type | Description |
---|---|---|
name | The name of the cookie. | |
value | The value of the cookie. | |
domain | The domain, or partial domain, associated with the cookie. | |
expires | The expiration date/time of the cookie. |
String: Returns or sets the domain to associate the cookie with.
DateTime: Returns or sets the expiration date and time for the cookie.
String: Returns or sets the name for the Cookie.
String: Returns or sets the path of the Cookie.
SameSiteMode: Returns or sets the value for the SameSite attribute of the cookie. The default value is Unspecified.
Boolean: Returns or sets whether to transmit the cookie using Secure Sockets Layer (SSL)--that is, over HTTPS only.
String: Returns or sets an individual cookie value.