Table of Contents

Property SameSite

Namespace
DotNetBrowser.Cookies
Assembly
DotNetBrowser.dll

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.

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.