当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP Flush 方法

ASP
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator
ASP Quick Ref
ASP 摘要
ASP 实例

ASP Flush 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 334 ::
收藏到网摘: n/a

The Flush method sends buffered HTML output immediately.
Flush指令的作用是直接输出已被缓冲的HTML结果

Note: If response.Buffer is false, this method will cause a run-time error.
注意:如果Response.Buffer设置为false,那么这个方法将导致一个运行时间上的错误。

Syntax
语法

Response.Flush

Examples
举例

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

评论 (0) All

登陆 | 还没注册?