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.