HttpSessionStateContainer.IsCookieless Property


Gets a value indicating whether the session ID is embedded in the URL or stored in an HTTP cookie.

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

public bool IsCookieless { get; }

Property Value

Type: System.Boolean

true if the session is embedded in the URL; otherwise, false.

For a discussion of cookieless sessions, see the IsCookieless property of the HttpSessionState class.

.NET Framework
Available since 2.0
Return to top