Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
Experts Most Trusted Topic
internet explorer 11 detection on server side
internet explorer 11 detection on server side ¬†using -'asp.net,internet-explorer,asp.net-mvc-4'
We all know that IE11 detection does not work with server side languages because Microsoft has removed the IE/MSIE browser indication and now is fully "Mozilla".
I also know that doing browser detection/version is risky but has served us all well in the past.
some requirements for a website are things like:
must work with certain version of firefox and above
must work with certain version of chrome and above
must work with certain version of safari's (some below and some newer)
must work with IE >= 8
so here is the problem... IE11 indicates on my list that it is not supported. I want to support it from the web side of things on the server (ASP.NET/MVC)
it is not clear exactly how to detect this from the server side. Does anyone know how?
this is the user agent now being shown in IE 11:
"Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
rv:11.0 tells us its IE11 however doing a parse on that will still mean that for example, it could be chrome of a certain version that is not supported in such a requirement or even firefox.
so, what is the best way here to see if it is indeed IE 11 or higher?
I am not so sure about searching from "Trident" and onwards because I don't know if other browsers use that or not.
any direction is welcomed.
Oct 6, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening