System.Web.Configuration.SessionStateSection.StateConnectionString Property

Gets or sets the state server connection string.

Syntax

[System.Configuration.ConfigurationProperty("stateConnectionString", DefaultValue="tcpip=loopback:42424")]
public string StateConnectionString { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property specifies the server name and the port when the session state is stored remotely. The stateConnectionString attribute is required when the SessionStateSection.Mode is set to System.Web.SessionState.SessionStateMode.StateServer.

Note:

Make sure the ASP.NET state service is running on the remote server that stores the session-state information. This service is installed with ASP.NET and is located by default at [drive:]\WINDOWS\Microsoft.NET\Framework\VersionNumber\aspnet_state.exe.

Requirements

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