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
CookieMode
Gets or sets the cookie mode.
public IisSessionStateCookieMode CookieMode { get; set; }
Property Value
CookieName
Gets or sets the cookie name
public string CookieName { get; set; }
Property Value
CustomDatabaseEnabled
Gets or sets whether a custom SQL database is enabled.
public BooleanOption CustomDatabaseEnabled { get; set; }
Property Value
CustomProvider
Gets or sets the name of the custom provider.
public string CustomProvider { get; set; }
Property Value
Mode
Gets or sets the session state mode.
public IisSessionStateMode Mode { get; set; }
Property Value
RegenerateExpiredSessionID
Gets or sets whether to regenerate an expired session ID.
public BooleanOption RegenerateExpiredSessionID { get; set; }
Property Value
SessionTimeout
Gets or sets the session timeout in minutes.
public int SessionTimeout { get; set; }
Property Value
SqlServerConnectionRetryInterval
Gets or sets the SQL Server connection retry interval in seconds.
public int SqlServerConnectionRetryInterval { get; set; }
Property Value
SqlServerConnectionString
Gets or sets the SQL Server connection string.
public string SqlServerConnectionString { get; set; }
Property Value
SqlServerTimeout
Gets or sets the SQL Server timeout in seconds.
public int SqlServerTimeout { get; set; }
Property Value
StateServerConnectionString
Gets or sets the state server connection string.
public string StateServerConnectionString { get; set; }
Property Value
StateServerTimeout
Gets or sets the state server timeout in seconds.
public int StateServerTimeout { get; set; }
Property Value
UseHostingIdentity
Gets or sets whether to use the hosting identity for impersonation.
public BooleanOption UseHostingIdentity { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.IisSessionStateSettings class from the specified Xml.
public static IisSessionStateSettings FromXml(string xml)
Parameters
xml
stringThe 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.