CookieOptions.SameSite Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.