AspAllowSessionState Metabase Property (IIS 6.0)
The AspAllowSessionState property enables session state persistence for the ASP application. If the value is set to true, the server creates a new Session object for each connection, session state is accessible, session storage is allowed, Session_OnStart and Session_OnEnd occurs, and the ASPSessionID cookie is sent to the client. If the value is set to false, state access and storage are not allowed, events are not processed, and no cookie is sent.
The ASP page directive, @ENABLESESSIONSTATE, can be used to override this metabase property.
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.