SessionStateSection::CookieName Property
.NET Framework (current version)
Gets or sets the cookie name.
Assembly: System.Web (in System.Web.dll)
public: [ConfigurationPropertyAttribute("cookieName", DefaultValue = "ASP.NET_SessionId")] property String^ CookieName { String^ get(); void set(String^ value); }
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: