SameSiteMode SameSiteMode SameSiteMode SameSiteMode Enum

Definition

Specifies constants that indicate the value for the SameSite attribute of the cookie.

public enum class SameSiteMode
public enum SameSiteMode
type SameSiteMode = 
Public Enum SameSiteMode
Inheritance

Fields

Lax Lax Lax Lax 1

The cookie will be sent with "same-site" requests, and with "cross-site" top level navigation.

None None None None 0

No mode is specified.

Strict Strict Strict Strict 2

When the value is Strict, or if the value is invalid, the cookie will only be sent along with "same-site" requests.

Applies to