title: Detect IE11 using ColdFusion
body: <p>I am able to detect previous versions of Internet Explorer using the code below. However, in IE 11 the User Agent String does not contain the "MSIE" word any more. Is there a way to detect IE 11 by using the same method?</p>
  
  <pre><code>&lt;cfif #CGI.HTTP_USER_AGENT# CONTAINS "MSIE"&gt;
  //do something
  &lt;cfelse&gt;
  //do another thing
  &lt;/cfif&gt;
  </code></pre>
  
  <p>And this is what I am up to for detecting IE 11, but doesn't work.</p>
  
  <pre><code>&lt;cfif #CGI.HTTP_USER_AGENT# CONTAINS "MSIE" OR REMatch(#CGI.HTTP_USER_AGENT#, "Trident/7.*rv:11")&gt;
  &lt;/cfif&gt;
  </code></pre>