SameSiteMode Enum

Definition

Indicates if the client should include a cookie on "same-site" or "cross-site" requests.

public enum SameSiteMode
type SameSiteMode = 
Public Enum SameSiteMode
Inheritance
SameSiteMode

Fields

Name Value Description
None 0

Indicates the client should send the cookie with every requests coming from any origin.

Lax 1

Indicates the client should send the cookie with "same-site" requests, and with "cross-site" top-level navigations.

Strict 2

Indicates the client should only send the cookie with "same-site" requests.

Applies to