Table of Contents

Class IisSessionStateSettings

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the IIS session state settings.

public class IisSessionStateSettings : BypassSection
Inheritance
IisSessionStateSettings
Inherited Members

Constructors

IisSessionStateSettings()

Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisSessionStateSettings class.

public IisSessionStateSettings()

Properties

CompressionEnabled

Gets or sets whether compression is enabled.

public BooleanOption CompressionEnabled { get; set; }

Property Value

BooleanOption

CookieMode

Gets or sets the cookie mode.

public IisSessionStateCookieMode CookieMode { get; set; }

Property Value

IisSessionStateCookieMode

CookieName

Gets or sets the cookie name

public string CookieName { get; set; }

Property Value

string

CustomDatabaseEnabled

Gets or sets whether a custom SQL database is enabled.

public BooleanOption CustomDatabaseEnabled { get; set; }

Property Value

BooleanOption

CustomProvider

Gets or sets the name of the custom provider.

public string CustomProvider { get; set; }

Property Value

string

Mode

Gets or sets the session state mode.

public IisSessionStateMode Mode { get; set; }

Property Value

IisSessionStateMode

RegenerateExpiredSessionID

Gets or sets whether to regenerate an expired session ID.

public BooleanOption RegenerateExpiredSessionID { get; set; }

Property Value

BooleanOption

SessionTimeout

Gets or sets the session timeout in minutes.

public int SessionTimeout { get; set; }

Property Value

int

SqlServerConnectionRetryInterval

Gets or sets the SQL Server connection retry interval in seconds.

public int SqlServerConnectionRetryInterval { get; set; }

Property Value

int

SqlServerConnectionString

Gets or sets the SQL Server connection string.

public string SqlServerConnectionString { get; set; }

Property Value

string

SqlServerTimeout

Gets or sets the SQL Server timeout in seconds.

public int SqlServerTimeout { get; set; }

Property Value

int

StateServerConnectionString

Gets or sets the state server connection string.

public string StateServerConnectionString { get; set; }

Property Value

string

StateServerTimeout

Gets or sets the state server timeout in seconds.

public int StateServerTimeout { get; set; }

Property Value

int

UseHostingIdentity

Gets or sets whether to use the hosting identity for impersonation.

public BooleanOption UseHostingIdentity { get; set; }

Property Value

BooleanOption

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.IisSessionStateSettings class from the specified Xml.

public static IisSessionStateSettings FromXml(string xml)

Parameters

xml string

The XML representation of the CENTREL.XIA.Configuration.Types.IisSessionStateSettings object

Returns

IisSessionStateSettings

A CENTREL.XIA.Configuration.Types.IisSessionStateSettings class from the specified Xml.

ToString()

Returns the session state settings as a human readable string.

public override string ToString()

Returns

string

The session state settings as a human readable string.