AuthPersistence
The AuthPersistence property specifies authentication persistence across requests on a connection using NTLM authentication. When the AuthPersistSingleRequest flag is set to true on this property, and on all other authentication schemes, IIS 6.0 automatically reauthenticates every request, even those on the same connection. This behavior is different on IIS 5.0 and IIS 5.1, where there were two other flags for the AuthPersistence property specifying persistence based on the existence of a proxy server.
Attribute Name | Attribute Value |
---|---|
XML Data Type | DWORD |
WMI Data Type |
SINT32
|
ADSI Data Type | DWORD |
ABO Data Type | DWORD |
ABO Metabase identifier |
MD_AUTHORIZATION_PERSISTENCE
|
Attributes | INHERIT |
Default Value | authpersistsinglerequest |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_FILE |
StartingNumber | Not applicable |
EndingNumber | 0 |
ID | 6031 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name |
IIsWebVirtualDir |
/LM/W3SVC/n | IIsWebServer |
/LM/W3SVC | IIsWebService |
/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name |
IIsWebFile |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name |
IIsWebDirectory |
Flags
Flag Name | AuthPersistSingleRequest |
---|---|
Description |
Setting this flag to true specifies that authentication persists only for a single request on a connection.
|
Metabase Bitmask Identifier | MD_AUTH_SINGLEREQUEST |
Decimal Value | 64 |
Hex Value | 0x00000040 |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties