IE 11 sends different User-Agent header to different subdomains

后端 未结 2 1105
走了就别回头了
走了就别回头了 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 03:53

    Official Microsoft Documentation on MSDN:

    • Compatibility changes in IE11
    • User-agent string changes

    Quotes:

    For many legacy websites, some of the most visible updates for IE11 involve the user-agent string. Here's what's reported for IE11 on Windows 8.1:

    Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko
    

    Here's the string for IE11 on Windows 7:

    Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko
    

    In rare cases, it may be necessary to uniquely identify IE11. Use the Trident token to do so.

    Isn't it nice, they say "like Gecko"? ;)

提交回复
热议问题