摘要: 因为response.OutputStream返回的HttpResponseStream为不能读只能写的流,故要获取其中的数据只能另想办法了,通过reflector可以发现可以用反射的方式截取其中的内容:response内容:private TextWriter tw_new, tw_old;private StringBuilder _content;private FieldInfo tw_field;BeginRequest事件中:_content = new StringBuilder();tw_old = _contextApplication.Response.Output; tw 阅读全文
posted @ 2012-12-30 14:14 广拓小程序 阅读(1385) 评论(0) 推荐(0) 编辑