到Response.End前使用Response.Flush的 [英] Use of Response.Flush before Response.End

查看:124
本文介绍了到Response.End前使用Response.Flush的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 Response.Flush ?我需要每一个在我打电话的时间来把它叫做到Response.End

When to use Response.Flush? Do I need to call it every time before I call Response.End?

推荐答案

Response.Flush 方法是,当你想要的其他部分之前刷新内容的一部分使用该页面。任何作用响应缓冲已被关闭,你要输出的页面内容自己使用的Response.Write ,而不是使用ASPX标记。

The Response.Flush method is used when you want to flush part of the content before the rest of the page. To have any effect response buffering has to be turned off, and you have to output the page content yourself using Response.Write rather than using aspx markup.

这篇关于到Response.End前使用Response.Flush的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆