I have IIS 7 and Server Side Includes work fine in all desktop browsers. But when I try on mobile (iPhone or Android) they don't show. Code extract:
<body>
<!--#include file="Header.cshtml"-->
<img src="Images/Dublin02.png" class="banner">
I have IIS 7 and Server Side Includes work fine in all desktop browsers. But when I try on mobile (iPhone or Android) they don't show. Code extract:
<body>
<!--#include file="Header.cshtml"-->
<img src="Images/Dublin02.png" class="banner">
Ok found out it's the file extension. I was using index.cshtml but when I change it to index.shtml it worked.