<?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 Re: Is there a way to turn off need for cookies for services? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-turn-off-need-for-cookies-for/m-p/423535#M38968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have determined/stronly suspect that the issue is that the service is protected with a cookie. I get a pop-up only when using showModalDialog though, using window.open does not require the cookie for some reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 15:45:32 GMT</pubDate>
    <dc:creator>PhilipKnight1</dc:creator>
    <dc:date>2015-03-27T15:45:32Z</dc:date>
    <item>
      <title>Is there a way to turn off need for cookies for services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-turn-off-need-for-cookies-for/m-p/423534#M38967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I currently have an issue where I am getting a pop-up message asking to download a cookie when I am using my app. I have posted this on Stack Overflow: &lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F29280550%2Fusing-showmodaldialog-ie-9-causes-cookie-prompt" rel="nofollow" target="_blank"&gt;javascript - Using showModalDialog (IE 9+) causes cookie prompt - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue only happens on my client's domain computers. Everything works just fine here. The pop-up occurs for each layer in my app, but does not seem to have any effect if I say "no" to downloading the cookie. I have also determined that the issue ONLY occurs when the page is being opened via "window.showModalDiaglog". If I go directly to the web page, I have no issues what so ever.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have turned on and also tried turning off all cookies and the issue still is present (also described in stack overflow question).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also determined that the following examples below exhibit the same issue, where a pop-up is presented asking for the user to download a cookie. What do the following examples have in common that would require a cookie be downloaded.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Flayers_label.html" rel="nofollow" target="_blank"&gt;Label Layer | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fwidget_identitymanager_client_side.html" rel="nofollow" target="_blank"&gt;Identity Manager with info persisted client side | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Ffl_any_projection.html" rel="nofollow" target="_blank"&gt;Any projection | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fmobile_arcgis.html" rel="nofollow" target="_blank"&gt;Mobile ArcGIS.com | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sites that DON'T show the issue on the client's machine&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Froutetask_basic_servicearea.html" rel="nofollow" target="_blank"&gt;Basic service area | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fwidget_directions_basic.html" rel="nofollow" target="_blank"&gt;Directions | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fmobile_geolocaterenderer.html" rel="nofollow" target="_blank"&gt;Geolocation with a temporal renderer | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Frenderer_class_breaks.html" rel="nofollow" target="_blank"&gt;Class breaks renderer | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Frenderer_heatmap_weighted.html" rel="nofollow" target="_blank"&gt;Explore Heat Maps | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Frenderer_proportional_lines.html" rel="nofollow" target="_blank"&gt;Proportional symbols for lines | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fsmartmapping_bycolor.html" rel="nofollow" target="_blank"&gt;Smart Mapping - Show Data by Color | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Frenderer_heatmap.html" rel="nofollow" target="_blank"&gt;Use Heat Maps | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fquery_nomap.html" rel="nofollow" target="_blank"&gt;Query data without a map | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fjssamples%2Fquery_deferred_list.html" rel="nofollow" target="_blank"&gt;Manage results from multiple queries | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---- UPDATE - EDIT ----&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;doing nothing more than executing the following code causes the issue:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;var fLayer = new esri.layers.FeatureLayer(featureLayerURL);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some way to turn off the need for the service to request a cookie?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: Philip Knight&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 19:20:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-turn-off-need-for-cookies-for/m-p/423534#M38967</guid>
      <dc:creator>PhilipKnight1</dc:creator>
      <dc:date>2015-03-26T19:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to turn off need for cookies for services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-turn-off-need-for-cookies-for/m-p/423535#M38968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have determined/stronly suspect that the issue is that the service is protected with a cookie. I get a pop-up only when using showModalDialog though, using window.open does not require the cookie for some reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-turn-off-need-for-cookies-for/m-p/423535#M38968</guid>
      <dc:creator>PhilipKnight1</dc:creator>
      <dc:date>2015-03-27T15:45:32Z</dc:date>
    </item>
  </channel>
</rss>

