Gli ultimi tutorial di sviluppo web
 

ASP Metodo Flush


<Complete oggetto risposta di riferimento

Il metodo Flush invia immediatamente output HTML tamponata.

Note: Se Response.Buffer è falso, questo metodo causerà un errore di run-time.

Sintassi

Response.Flush

Esempio

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

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!

<Complete oggetto risposta di riferimento