ASP Flush 方法
Flush 方法立即发送已缓存的 HTML 输出。
注意:假如 response.Buffer 为 false ,此方法会引起一个 run-time 错误。
语法
1 | <div> Response. Flush </div>
|
实例
1 | <div> <%<br> Response.Buffer=true<br> %><br> <html><br> <body><br> <p>I write some text, but I will control when the<br> text will be sent to the browser.</p><br> <p>The text is not sent yet. I hold it back!</p><br> <p>OK, let it go!</p><br> <%<br> Response. Flush <br> %><br> </body><br> </html><br><br> 输出:<br><br> I write some text, but I will control when the<br> text will be sent to the browser.<br><br> The text is not sent yet. I hold it back!<br><br> OK, let it go! </div>
|