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

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP Flush 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 361 ::
收藏到网摘: 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

登陆 | 还没注册?