Name | Description |
---|---|
Name | Description |
---|---|
Creates and names a new .
Name | Type | Description |
---|
Creates, names, and assigned a new value to a new .
Name | Type | Description |
---|
: Restricts domain cookie is to be used with.
: Expiration time for the cookie (in minutes).
: Return whether the cookie has sub-keys.
: Indicates whether the cookie should have HttpOnly attribute
: Returns or sets a value in a cookie with multple values.
: Returns or sets the name of the cookie.
: Returns or sets the URL prefix to transmit with the cookie.
: Returns or sets the for the cookie.
: Indicates whether the cookie should be transmitted only over HTTPS.
: Returns or sets the cookie value.
: Returns an individual key:value pairs within a single cookie object with multple values.
Lax
Indicates the client should send the cookie with "same-site" requests, and with "cross-site" top-level navigations.
None
Indicates the client should disable same-site restrictions. When using this value, the cookie must also have the Secure property set to true.
Strict
Indicates the client should only send the cookie with "same-site" requests.
Returns or sets the SameSiteMode for the cookie.
name | Name of the cookie. |
name | Name of the cookie. |
value | Value to assign to the cookie. |