IE 11 sends different User-Agent header to different subdomains

后端 未结 2 1114
走了就别回头了
走了就别回头了 2020-12-31 03:34

Well, I\'ve been working on an User-Agent based shared-session protection between subdomains.

I was extremely surprised that it\'s been working well until IE 11 prev

2条回答
  •  渐次进展
    2020-12-31 04:04

    Microsoft has the site in question configured to use UA-spoofing (via the Compatibility View list) and that causes IE to send a custom UA string.

    CompatView-based UA spoofing was enabled in IE8 in 2008: http://blogs.msdn.com/b/ie/archive/2008/08/27/introducing-compatibility-view.aspx

    And in IE10+, it's gotten richer, with per-site spoofing to enable the best experience. See http://blogs.msdn.com/b/ieinternals/archive/2013/09/21/internet-explorer-11-user-agent-string-ua-string-sniffing-compatibility-with-gecko-webkit.aspx for an exploration of this topic.

提交回复
热议问题