CookieOptions.SameSite Property
Definition
Gets or sets the value for the SameSite attribute of the cookie. The default value is Unspecified
public:
property Microsoft::AspNetCore::Http::SameSiteMode SameSite { Microsoft::AspNetCore::Http::SameSiteMode get(); void set(Microsoft::AspNetCore::Http::SameSiteMode value); };
public Microsoft.AspNetCore.Http.SameSiteMode SameSite { get; set; }
member this.SameSite : Microsoft.AspNetCore.Http.SameSiteMode with get, set
Public Property SameSite As SameSiteMode
Property Value
The SameSiteMode representing the enforcement mode of the cookie.