ASP FlushMétodo


Response 对象参考手册Manual de referencia completo del objeto Response

El método Flush envía inmediatamente la salida HTML almacenada en caché.

Nota:Si response.Buffer es false, este método provocará un error de tiempo de ejecución.

Sintaxis

Response.Flush

Ejemplo

<%
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>

Salida:

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 对象参考手册Manual de referencia completo del objeto Response Otras extensiones