Latest web development tutorials

ASP método Flush

Respuesta de referencia de objetos Respuesta Completa referencia de objeto

método Flush envía la salida HTML tamponada inmediatamente.

Nota: Si Response.Buffer falsa, este método provocará un error en tiempo de ejecución.

gramática

Response.Flush

Ejemplos

<%
Response.Buffer=true
%>
<html>
<body>
<p>I write some text, but I will control when the
text will be sent to the browser.</p>
<p>The text is not sent yet. I hold it back!</p>
<p>OK, let it go!</p>
<%
Response.Flush
%>
</body>
</html>

输出:

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!


Respuesta de referencia de objetos Respuesta Completa referencia de objeto