Click or drag to resize

CookieSameSite Property

Gets the SameSite attribute value of the cookie. This attribute denotes if your cookie is restricted to a first-party or same-site context.

Namespace:  DotNetBrowser.Cookies
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
public SameSite SameSite { get; }

Property Value

Type: 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.

See Also