Méthode de rinçage ASP


❮ Référence complète de l'objet de réponse

La méthode Flush envoie immédiatement la sortie HTML mise en mémoire tampon.

Remarque : Si response.Buffer est faux, cette méthode provoquera une erreur d'exécution.

Syntaxe

Response.Flush

Exemple

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

❮ Référence complète de l'objet de réponse