SessionStateSection.CookieName Property
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Gets or sets the cookie name.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("cookieName", DefaultValue = "ASP.NET_SessionId")] public string CookieName { get; set; }
The default value is "ASP.NET_SessionId".
The following code example demonstrates how to get the CookieName property. Refer to the code example in the SessionStateSection class topic to learn how to get the section.
.NET Framework
Available since 2.0
Available since 2.0
Show: