Legacy Active Server Pages and IE10 Emulation
Posted on 2014-11-25
How does one set a classic asp web application to use Browser Mode IE10 and Document Mode “IE5 quirks” when the browser used is IE 10?
• The solution can not use the server HTTP Response Header setting for all applications
• So far we have tried variations of the following:
o <meta http-equiv="x-ua-compatible" content="IE=8" >
Our government organization currently supports many business web applications. Some of these applications are built on asp.net, others on legacy classic asp pages (active server pages). Recently the organization certified use of IE10 and continues to work on IE11 certification. In the meantime, we have been charged to begin all applications to enforce the new web standards.
I have proposed we re-write older classic applications to ASP.NET 1 at a time and modifying our ASP.Net applications using modern standards. To enforce newer standards, the organization would like to remove our current meta-tag placed on the IIS server HTTP Response Header.
Our solution would be to control emulation at the application level. We have done this for the ASP.Net web applications by simply setting the web.config :
<add name="X-UA-Compatible" value="IE=8" />
However, we have not yet determined how to set our web applications that run fine using the server level meta tag in the HTTP Response Header . The response header was set to IE=8; when applications render using the server meta tag, the browser mode = 10 and the Document Mode: IE5 quirks is used.