SessionOptions.CookieDomain Property

Definition

Caution

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

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

Determines the domain used to create the cookie. Is not provided by default.

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

Property Value

Attributes

Applies to

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