Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP Flush Method

ASP Flush Method


Response Object Reference Complete Response object reference manual


The Flush method immediately sends the buffered HTML output.

**Note:** If response.Buffer is false, this method will cause a run-time error.

Syntax

Response.Flush

Example

<%

Response.Buffer=true

%>

I write some text, but I will control when the

text will be sent to the browser.

The text is not sent yet. I hold it back!

OK, let it go!

<%

Response.Flush

%>

Output:

I write some text, but I will control when the

text will be sent to the browser.

The text is not sent yet. I hold it back!

OK, let it go!


Response Object Reference Complete Response object reference manual