System.Web.SessionState.IHttpSessionState.CookieMode Property

Gets a value that indicates whether the application is configured for cookieless sessions.

Syntax

public System.Web.HttpCookieMode CookieMode { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The IHttpSessionState.CookieMode property returns a System.Web.HttpCookieMode enumeration value that is based on the value of the cookieless attribute of the System.Web.Configuration.SystemWebSectionGroup.SessionState configuration element. If the cookieless attribute is set to true, then the IHttpSessionState.CookieMode property returns System.Web.HttpCookieMode.UseUri; otherwise, the IHttpSessionState.CookieMode property returns System.Web.HttpCookieMode.UseCookies.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0