//设置客户端缓冲中文件过期时间为0,即立即过期。 
                                    context.Response.Expires = 0;
                                    //清空服务器端为此会话开辟的输出缓存 
                                    context.Response.Clear();
                                    context.Response.Charset = "utf-8";
                                    context.Response.ContentEncoding = System.Text.Encoding.UTF8;
                                    context.Response.ContentType = "text/plain";
                                    context.Response.Write("充值成功");
                                    //将输出缓存中的信息传送到客户端 ,下面的语句会导致在谷歌浏览器中失效,其它浏览器没问题
                                   // context.Response.Flush();
                                   // context.Response.Close();
                                   // context.Response.End();

 

posted on 2013-02-28 12:24  五千年不曾见  阅读(411)  评论(0)    收藏  举报