Collapse AllExpand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JScript
Response.Flush Method
The Flush method sends buffered output immediately. This method causes a run-time error if Response.Buffer has not been set to TRUE.
Flush( )
Parameters
This method has no parameters.
Return Values
This method has no return values.
Applies To
Remarks
If the Flush method is called on an ASP page, the server does not honor Keep-Alive requests for that page.
The following example shows how to call the Flush method:
VBScript
<% If Response.IsClientConnected() Then Response.Flush() End If %>
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