Поделиться через


AspBufferingOn

The AspBufferingOn property specifies whether output from an ASP application will be buffered. If the value is set to true, all output from the application is collected in the buffer before the buffer is flushed to the client browser. With buffering on, the ASP application has to completely process the ASP script before the client browser receives any output. For this reason, applications that have buffering enabled may seem slower to users than those applications that have buffering disabled, even though the total time taken for the buffered script is less. Therefore, if buffering is turned on, consider using the Flush method of the ASP built-in Response object to pass the user pieces of content as the script is being processed.

If this property is set to false, output from an ASP script is written to the client browser as it becomes available. If buffering is turned off, any methods that modify existing HTTP headers or generate new headers must be executed before the content body is sent to the client browser. If buffering is turned on, this restriction is unnecessary.

This property is an application-level property.

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

7000

Friendly ID

MD_ASP_BUFFERINGON

Property Attributes

INHERIT

User Type

ASP_MD_UT_APP

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

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

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