System.Web.Configuration.SessionStateSection.PartitionResolverType Property

Gets or sets a value specifying where to store the session state.


[System.Configuration.ConfigurationProperty("partitionResolverType", DefaultValue="")]
public string PartitionResolverType { set; get; }


Documentation for this section has not yet been entered.


If the SessionStateSection.PartitionResolverType property is specified, the SessionStateSection.SqlConnectionString property and SessionStateSection.StateConnectionString property are ignored. The SessionStateSection.PartitionResolverType can be locked via the System.Configuration.ConfigurationElement.LockAttributes property like other properties within the <sessionState> Element for <system.web> element. The connection string returned by the SessionStateSection.PartitionResolverType will be used on every request to connect to the appropriate server location for the remainder of the request. If the connection string is invalid, ASP.NET will throw the same exception that is thrown when the configured connection string to the server is invalid.

This property is used to partition session-state data across multiple backend nodes when in SQL or state-server mode.


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