CookiePolicyOptionsExtensions.DisallowsSameSiteNone(String) Method

Definition

Checks if the specified user agent supports "SameSite=None" cookies.

public static bool DisallowsSameSiteNone (string userAgent);
static member DisallowsSameSiteNone : string -> bool
Public Function DisallowsSameSiteNone (userAgent As String) As Boolean

Parameters

userAgent
System.String

Browser user agent.

Returns

System.Boolean

True, if the user agent does not allow "SameSite=None" cookie; otherwise, false.

Remarks

Incompatible user agents include:

Reference: https://www.chromium.org/updates/same-site/incompatible-clients.

Applies to