Forum Discussion

JWhitesPro_1928's avatar
JWhitesPro_1928
Icon for Cirrostratus rankCirrostratus
Jan 08, 2016

Detecting IE11 user-agent

It seems that IE11 does not send MSIE in the user agent but instead something like this depending on your OS:

 

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

 

What all are you using in APM to check for IE11? the entire string above? Or the rv:11.0 (i'm not sure if any other browsers use this but MSDN documentation states that the rv:11.0 user agent specifies the version of IE11. Currently I have a policy that tests for Internet explorer by searching the user agent for either MSIE (for older) or "rv:11". Is anyone doing anything different?

 

expr { [mcget {session.user.agent}] contains "rv:11" }

 

expr { [mcget {session.user.agent}] contains "MSIE"

 

1 Reply

  • I'll also add the reason I'm doing this in my case is I am preventing the client side checks from running on any machine that is not running IE11 (to prevent annoying prompts in chrome to install a plugin that won't install anymore)