Property SameSite
- Namespace
- DotNetBrowser.Cookies
- Assembly
- DotNetBrowser.dll
SameSite
Gets the SameSite
attribute value of the cookie.
This attribute denotes if your cookie is restricted to a first-party or same-site context.
public SameSite SameSite { get; }
Property Value
- SameSite
The
SameSite
attribute value.
Remarks
By default, the attribute value is set to LaxMode which means cookies are only set when the domain in the URL of the browser matches the domain of the cookie — a first-party cookie.