Why is my user agent MSIE 7.0?

The login page has a title header("X-UA-Compatible: IE=edge");

and a title tag <head> <meta http-equiv="X-UA-Compatible" content="IE=edge">

. But when I enter my custom string, I don't get IE11, I get 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)

which is IE7. Also in F12, I can see that my Internet Explorer is in Edge mode.

+3


source to share


1 answer


according to this MSDN blog

Compatibility View

If the user decides to make the site in Compatibility View (click "Tools"> "Compatibility View Options"), then IE will send a User-Agent string that mimics Internet Explorer 7s UA string:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Trident/7.0; .NET4.0E; .NET4.0C)

      



It will most likely be in developer mode, check if developer mode isn't working.

+3


source







All Articles