ASP Flush Method
Definition and Usage
The Flush method sends the cached HTML output immediately.
Note:If response.Buffer is false, this method will cause a run-time error
Syntax
Response.Flush
Example
<% Response.Buffer=true %> <html> <body> <p>I write some text, but I will control when the <p>The text will be sent to the browser.</p> <p>The text has not been sent yet. I am holding it back!</p> <p>OK, leave it go!</p> <% Response.Flush %> </body> </html>
Saída:
Escrevo alguns textos, mas eu controlarei quando o O texto será enviado ao navegador. O texto ainda não foi enviado. Eu estou mantendo-o! OK, deixe isso ir!