CookieAuthenticationOptions.CookiePath Property

Definition

Caution

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.

This property is obsolete and will be removed in a future version. The recommended alternative is on Cookie.

Determines the path used to create the cookie. The default value is "/" for highest browser compatibility.

C#
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public string CookiePath { get; set; }

Property Value

Attributes

Applies to

Produkt Verzie (Zastarané)
ASP.NET Core (2.0, 2.1, 2.2)