【发布时间】:2015-05-13 18:42:26
【问题描述】:
登录页面同时具有header("X-UA-Compatible: IE=edge"); 标头和<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> 标头标记。但是当我登录我的用户字符串时,我没有得到 IE11,我得到了Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3),即 IE7。同样在 F12 中,我可以看到我的 Internet Explorer 处于 Edge 模式。
【问题讨论】:
-
msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx。请参阅“启用兼容性视图的 64 位 Windows 8.1 更新上的桌面版 IE11”。
标签: internet-explorer internet-explorer-7 internet-explorer-11