title: SEC7118: XMLHttpRequest CORS - IE Console message
body: <p>I am using CORS POST request with everything taken care as given @<a href="http://www.html5rocks.com/en/tutorials/cors/" rel="noreferrer">http://www.html5rocks.com/en/tutorials/cors/</a></p>
  
  <p>Server sets Response header to:
  'Access-Control-Allow-Origin':'*' and I can see this header value in IE developer tool.</p>
  
  <p>But on IE10 browser I see console message as "SEC7118: XMLHttpRequest for http:// required Cross Origin Resource Sharing (CORS). </p>
  
  <p>When I check on Microsoft site it has below given explanation.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/ie/dn423949(v=vs.94).aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/ie/dn423949(v=vs.94).aspx</a></p>
  
  <p><strong><em>SEC7118</em></strong></p>
  
  <p><strong><em>Description:</em></strong>
  <em>"XMLHttpRequest for [URL] required Cross Origin Resource Sharing (CORS). "
  An XMLHttpRequest was made to a domain that was different than your page's domain. This requires the server to return an "Access-Control-Allow-Origin" header in its response headers, but one was not returned.</em></p>
  
  <p><strong><em>Suggested Fix:</em></strong>
  <em>The server must support CORS requests and return an appropriate "Access-Control-Allow-Origin" header with the resource. See CORS for XHR in IE10 for more info about CORS in response headers.</em></p>
  
  <p><strong>Questions:</strong> </p>
  
  <ol>
  <li>I want to know if this console message is an ERROR ??</li>
  <li>Will this cause any failures ??</li>
  <li>Why do I get this message even after setting response header 'Access-Control-Allow-Origin'  value to '*'??</li>
  <li>Does 'Access-Control-Allow-Origin'  value has to be origin name for
  IE10 to work? I know * is not a very good option, But does IE
  requires exact origin name ??</li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/0X4KP.png" alt="enter image description here">   </p>
  
  <p><img src="https://i.stack.imgur.com/0qmsN.png" alt="enter image description here"></p>
  
  <p>I kept URL's and cookie details hidden from these images.</p>