Compartilhar via


AllowKeepAlive

The AllowKeepAlive property specifies whether Keep-Alive processing is permitted. If this property is set to TRUE, then a Connection: Keep-Alive header is appended to each response. Keep-alive connections provide one method by which you can improve performance for your Web application. In general, if both your application and the client have requested a persistent HTTP connection, IIS will continue to reuse the TCP/IP socket that was used to receive the initial browser request, instead of destroying it and creating a new socket for each and every additional request.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

BOOL

ABO Data Type

DWORD_METADATA

Schema Default

TRUE

Internal Default

TRUE

Upper Bound

0

Lower Bound

Not specified

Internal ID

6038

Friendly ID

MD_ALLOW_KEEPALIVES

Property Attributes

INHERIT

User Type

IIS_MD_UT_FILE

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also