SessionOptions.CookieName Property

Definition

Caution

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

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

Determines the cookie name used to persist the session ID.

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

Property Value

Attributes

Applies to

Product Versions (Obsolete)
ASP.NET Core 1.0, 1.1 (2.0, 2.1, 2.2)