<?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 Geoprocessing Hangs In Internet Explorer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-hangs-in-internet-explorer/m-p/397400#M36614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're running &lt;A href="https://developers.arcgis.com/javascript/jsapi/geoprocessor-amd.html"&gt;geoprocessor&lt;/A&gt; from JS in our project using Geoprocessor.submitJob function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Geoprocessor class does:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Posts job on ArcGIS Server&lt;/LI&gt;&lt;LI&gt;Each second checks the status of this job&lt;/LI&gt;&lt;LI&gt;Returns result when job status is success.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;BUT IE stops checking on 2&lt;SUP&gt;nd&lt;/SUP&gt; step because geoprocessor uses same url each time to check the status like &lt;A href="https://map.vbrproxy.powel.no/arcgis/rest/services/Viewer/TraceTool/GPServer/Trace%20Tool/jobs/j05436c7786db4b1c9cc89582081a87f8"&gt;https:/yourarcgis.company.com/arcgis/rest/services/Viewer/GpToolName/GPServer/ToolName/jobs/j05436c7786db4b1c9cc89582081a87f8 &lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;It means that the procedure never ends because the query result falls into cache and IE doesn't make query and returns 'esriJobExecuting' status. I checked that and saw that there was no real queries to the server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However everything works fine with other browsers. &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Is there any way to prevent caching?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Now I'm using the following approach to modify URL parameter but it's a bit dirty solution which I don't like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;window.require(["esri/request"], function (esriRequest) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriRequest.setRequestPreCallback(function (ioArgs) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Prevent IE from caching queries to check status URL. Just additional parameter to the query to status URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (cacheBust) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ioArgs.url += '&amp;amp;buster=' + new Date().getTime();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ioArgs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 11:05:17 GMT</pubDate>
    <dc:creator>EduardLepner1</dc:creator>
    <dc:date>2015-09-11T11:05:17Z</dc:date>
    <item>
      <title>Geoprocessing Hangs In Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-hangs-in-internet-explorer/m-p/397400#M36614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're running &lt;A href="https://developers.arcgis.com/javascript/jsapi/geoprocessor-amd.html"&gt;geoprocessor&lt;/A&gt; from JS in our project using Geoprocessor.submitJob function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Geoprocessor class does:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Posts job on ArcGIS Server&lt;/LI&gt;&lt;LI&gt;Each second checks the status of this job&lt;/LI&gt;&lt;LI&gt;Returns result when job status is success.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;BUT IE stops checking on 2&lt;SUP&gt;nd&lt;/SUP&gt; step because geoprocessor uses same url each time to check the status like &lt;A href="https://map.vbrproxy.powel.no/arcgis/rest/services/Viewer/TraceTool/GPServer/Trace%20Tool/jobs/j05436c7786db4b1c9cc89582081a87f8"&gt;https:/yourarcgis.company.com/arcgis/rest/services/Viewer/GpToolName/GPServer/ToolName/jobs/j05436c7786db4b1c9cc89582081a87f8 &lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;It means that the procedure never ends because the query result falls into cache and IE doesn't make query and returns 'esriJobExecuting' status. I checked that and saw that there was no real queries to the server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However everything works fine with other browsers. &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Is there any way to prevent caching?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Now I'm using the following approach to modify URL parameter but it's a bit dirty solution which I don't like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;window.require(["esri/request"], function (esriRequest) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriRequest.setRequestPreCallback(function (ioArgs) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Prevent IE from caching queries to check status URL. Just additional parameter to the query to status URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (cacheBust) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ioArgs.url += '&amp;amp;buster=' + new Date().getTime();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ioArgs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 11:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-hangs-in-internet-explorer/m-p/397400#M36614</guid>
      <dc:creator>EduardLepner1</dc:creator>
      <dc:date>2015-09-11T11:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Hangs In Internet Explorer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-hangs-in-internet-explorer/m-p/397401#M36615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm seeing the same issue. &amp;nbsp;We're using the proxy to access secure services as well. &amp;nbsp;Has anyone figured out a better, more appropriate solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 22:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-hangs-in-internet-explorer/m-p/397401#M36615</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2017-01-12T22:07:37Z</dc:date>
    </item>
  </channel>
</rss>

