当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP Flush 方法
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,那么这个方法将导致一个运行时间上的错误。
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> 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! |