当前位置:编程学习 > C#/ASP.NET >>

关于在anthem中提示Refused to set unsafe header Accept-Encoding的问题

asp .net做了一个登陆,代码如下,ie上使用没问题,可以跳转,其他浏览器,谷歌火狐都不能跳转。
<anthem:button id="Button1" runat="server" text="登 陆" EnabledDuringCallBack="False" OnClick="Button1_Click"></anthem:button>
浏览器中显示这个错误:
Refused to set unsafe header "Accept-Encoding"
Anthem_CallBack
Anthem_FireEvent
Anthem_FireCallBackEvent
onclick
查了查有说是Anthem遇到了编码问题导致输出错误,配置文件加入:
<appSettings>       
<add key="Anthem.ResponseEncoding" value="gb2312" />         
<add key="Anthem.ResponseType" value="gb2312" />
</appSettings>
但是没有什么用,现在求问题原因和解决办法。愁死了。 asp .net, anthem, 浏览器 编码 --------------------编程问答-------------------- 改成utf8试试吧
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,