FormsAuthentication.CookieSameSite 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 the value for the SameSite attribute of the cookie.
public:
static property System::Web::SameSiteMode CookieSameSite { System::Web::SameSiteMode get(); };
public static System.Web.SameSiteMode CookieSameSite { get; }
static member CookieSameSite : System.Web.SameSiteMode
Public Shared ReadOnly Property CookieSameSite As SameSiteMode
Property Value
One of the enumeration values that represents the enforcement mode of the cookie. The default value is Lax.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.