<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic With IE 10 is this a CORS setup issue or an ArcGIS 10.2 queryTask issue? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-ie-10-is-this-a-cors-setup-issue-or-an-arcgis/m-p/77871#M7072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still loosing sleep over my ArcGIS JavaScript application and why it does not work with IE 10 / 11.&amp;nbsp; I have CORS enable my server, which seems to work with everything not ArcGIS and works with for ArcGIS showing feature layers on a map, but not for queryTask directed at the same feature layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the JavaScript directive, though not supposed to be needed:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// where getTokenURL="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://some.domain.gov/arcgis/tokens" rel="nofollow" target="_blank"&gt;https://some.domain.gov/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;esri.config.defaults.io.corsEnabledServers.push(getTokenURL.split("/")[3]); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works properly in Firefox, Chrome, and Opera.&amp;nbsp; But in&amp;nbsp; IE10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $.getJSON CORS request works well, the map loads and displays images as expected.&amp;nbsp; When I execute a queryTask the nework trafic monitor shows a request being made through PROXY instead of a CORS request.&amp;nbsp; Firefox, Chrome network monitors show CORS requests for the same event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My authorization token is valid for the Client IP address, not valid for the PROXY IP; things go wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, have I missed something I need to do or does ArcGIS 10.2 queryTask not support IE 10 / 11 CORS ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good health!&lt;/P&gt;&lt;P&gt;Blair&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 18:00:06 GMT</pubDate>
    <dc:creator>BlairJones</dc:creator>
    <dc:date>2015-04-24T18:00:06Z</dc:date>
    <item>
      <title>With IE 10 is this a CORS setup issue or an ArcGIS 10.2 queryTask issue?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-ie-10-is-this-a-cors-setup-issue-or-an-arcgis/m-p/77871#M7072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still loosing sleep over my ArcGIS JavaScript application and why it does not work with IE 10 / 11.&amp;nbsp; I have CORS enable my server, which seems to work with everything not ArcGIS and works with for ArcGIS showing feature layers on a map, but not for queryTask directed at the same feature layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the JavaScript directive, though not supposed to be needed:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// where getTokenURL="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://some.domain.gov/arcgis/tokens" rel="nofollow" target="_blank"&gt;https://some.domain.gov/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;esri.config.defaults.io.corsEnabledServers.push(getTokenURL.split("/")[3]); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works properly in Firefox, Chrome, and Opera.&amp;nbsp; But in&amp;nbsp; IE10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $.getJSON CORS request works well, the map loads and displays images as expected.&amp;nbsp; When I execute a queryTask the nework trafic monitor shows a request being made through PROXY instead of a CORS request.&amp;nbsp; Firefox, Chrome network monitors show CORS requests for the same event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My authorization token is valid for the Client IP address, not valid for the PROXY IP; things go wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, have I missed something I need to do or does ArcGIS 10.2 queryTask not support IE 10 / 11 CORS ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good health!&lt;/P&gt;&lt;P&gt;Blair&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 18:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-ie-10-is-this-a-cors-setup-issue-or-an-arcgis/m-p/77871#M7072</guid>
      <dc:creator>BlairJones</dc:creator>
      <dc:date>2015-04-24T18:00:06Z</dc:date>
    </item>
  </channel>
</rss>

