Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures properties related to ASP sessions.
Syntax
class AspSession : EmbeddedObject
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the AspSession
class.
Name | Description |
---|---|
AllowSessionState |
A read/write boolean value. true if session state persistence is enabled for the ASP application; otherwise, false . The default is true . |
KeepSessionIdSecure |
A read/write boolean value. true if a session ID is sent as a secure cookie when it is assigned over a secure channel; otherwise, false . The default is true . |
Max |
A read/write uint32 value that specifies the maximum number of concurrent sessions that IIS will permit. Note: Although the IIS_Schema.xml file specifies 4294967295 (unlimited) as the default for this property, the default returned by the WMI provider is -1. |
Timeout |
A read/write datetime value that specifies the default amount of time that a session object is maintained after the last request associated with the object is made. The default is 20 minutes. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the Session
property of the AspSection class.
Inheritance Hierarchy
AspSession
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
MOF file | WebAdministration.mof |
See Also
AspCache Class
AspComPlus Class
AspLimits Class
AspSection Class
EmbeddedObject Class
CIM_DATETIME