CookieOptions.SameSite Property

Definition

Gets or sets a value that indicates on which requests client should or should not send cookie back to the server. Set to null to do not include SameSite attribute at all.

public Microsoft.Owin.SameSiteMode? SameSite { get; set; }
member this.SameSite : Nullable<Microsoft.Owin.SameSiteMode> with get, set
Public Property SameSite As Nullable(Of SameSiteMode)

Property Value

SameSite attribute value or null if attribute must not be set.

Applies to