ASP Flush ·½·¨
¶¨ÒåºÍÓ÷¨
Flush ·½·¨Á¢¼´·¢ËÍÒÑ»º´æµÄ HTML Êä³ö¡£
×¢ÊÍ£º¼ÙÈç response.Buffer Ϊ false £¬´Ë·½·¨»áÒýÆðÒ»¸ö run-time ´íÎó
Óï·¨
Response.Flush
ʵÀý
<%
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!