FLASH在IE6下Error 2032错的处理

来源:互联网 发布:多空博弈指标源码 编辑:程序博客网 时间:2024/06/13 00:29

http://lersh.blog.163.com/blog/static/104974220080494558881/

Flash在IE6中POST数据时会出现ioerror Error #2032

这个错误是Gzip和no-cache同时出现造成的。

解决方法是在返回的页面里增加HTTP头,

Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate, max-age=-1");

 

 

我在flash中访问 page.aspx返回信息,下面使用Response.AppendHeader

            Response.Clear();
            //Response.CacheControl = "no-cache";
            Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate, max-age=-1");
            Response.Write(“信息”);
            Response.End();

 

 

在flash中使用load  request

 

0 0