SessionStateSection.CookieName Property

 

Gets or sets the cookie name.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[<ConfigurationPropertyAttribute("cookieName", DefaultValue = "ASP.NET_SessionId")>]
member CookieName : string with get, set

Property Value

Type: System.String

The name of the HTTP cookie to use for session identification.

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: