CookieBuilder.SameSite Property

Definition

The SameSite attribute of the cookie. The default value is Unspecified but specific components may use a different value.

public:
 virtual property Microsoft::AspNetCore::Http::SameSiteMode SameSite { Microsoft::AspNetCore::Http::SameSiteMode get(); void set(Microsoft::AspNetCore::Http::SameSiteMode value); };
public virtual Microsoft.AspNetCore.Http.SameSiteMode SameSite { get; set; }
member this.SameSite : Microsoft.AspNetCore.Http.SameSiteMode with get, set
Public Overridable Property SameSite As SameSiteMode

Property Value

Remarks

Determines the value that will be set for SameSite.

Applies to