<?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: Bug with showModalDialog and token authorized services in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592065#M55359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;I was finally able to solve the issue. I was able to solve the issue by moving our site from the Trusted sites zone to the Intranet zone.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;The reason this works is because the Intranet zone by default will accept all cookies. Internet zone cookie settings are determined by the Privacy tab, Trusted sites zone by default prompts for all cookies, Restricted zone blocks all cookies. There is an option to override these settings by importing a P3P xml file into IE, but that seemed to be unsuccessful , so I think we will just have to live with having the site in the Intranet zone. This will obviously have to be done for each users machine. I already did for the Server machine, as the desktop you set up for us didn’t seem to be up and running. This might require that the settings for Trusted Sites have to also be set for the Intranet zone, but since it’s working for the server machine I assume that all the other desktop user machines are also using those settings for the Intranet zone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 14:43:46 GMT</pubDate>
    <dc:creator>PhilipKnight1</dc:creator>
    <dc:date>2015-04-16T14:43:46Z</dc:date>
    <item>
      <title>Bug with showModalDialog and token authorized services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592061#M55355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Regardless&lt;/SPAN&gt; of my cookie settings in IE, whenever I open a page via "window.showModalDialog" that uses a "tokenized" service I get the below pop-up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="enter image description here" class="jive-image" src="http://i.stack.imgur.com/8P78k.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use "window.open" instead, the issue is not present. This prompt occurs for each feature layer that I use, so for my app I have 24 prompts (24 layers), which is just not acceptable. Is there some parameter I can pass during the instantiation of the layer that will prevent this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is some sample code that shows the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="dec" style="color: #660066;"&gt;&lt;/SPAN&gt;
&lt;SPAN class="dec" style="color: #660066;"&gt;&lt;/SPAN&gt;
&lt;SPAN class="dec" style="color: #660066;"&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;html&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="color: #660066;"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="color: #008800;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;body&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;button&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="color: #660066;"&gt;onclick&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="color: #008800;"&gt;"&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;myFunction&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="atv" style="color: #008800;"&gt;"&lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;Copy Text&lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;/button&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;/body&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #000088;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; myFunction&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp; window&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;showModalDialog&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #008800;"&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://developers.arcgis.com/javascript/samples/layers_label/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://developers.arcgis.com/javascript/samples/layers_label/&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #008800;"&gt;'0'&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #008800;"&gt;'resizable:1;dialogHeight:'&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;+&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #006666;"&gt;600&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;+&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #008800;"&gt;'px;dialogWidth:'&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;+&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #006666;"&gt;800&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;+&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #008800;"&gt;'px'&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="tag" style="color: #000088;"&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:25:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592061#M55355</guid>
      <dc:creator>PhilipKnight1</dc:creator>
      <dc:date>2021-12-12T01:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with showModalDialog and token authorized services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592062#M55356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect this is due to an IE browser setting that specifies that uses should be prompted to accept cookies. You'll need to disable this in your browser settings to get rid of the error. Some more info is here although depending on the version of IE you are using the location for disabling/enabling this setting may have changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://windowsitpro.com/security/microsoft-internet-explorers-cookie-filtering" title="http://windowsitpro.com/security/microsoft-internet-explorers-cookie-filtering"&gt;Microsoft Internet Explorer Cookie Filtering | Security content from Windows IT Pro&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592062#M55356</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-03-30T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with showModalDialog and token authorized services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592063#M55357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried all of those setting without success. Allowing all or denying all and nothing works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done quite a bit of googling on this and I don't think it's simply a setting. I believe it is either a bug with ESRI, the DOJO api you use, or IE. The pop-up is not like the nomral cookie prompt. It is somethign different. Is this something that ESRI can investigate &lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;​?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://social.msdn.microsoft.com/Forums/silverlight/en-US/d272839a-5b32-4965-9426-9a0ae2eeb09f/javascript-showmodalpopup-silverlight-this-page-has-an-unspecified-potential-security-risk?forum=silverlightjavascript" title="https://social.msdn.microsoft.com/Forums/silverlight/en-US/d272839a-5b32-4965-9426-9a0ae2eeb09f/javascript-showmodalpopup-silverlight-this-page-has-an-unspecified-potential-security-risk?forum=silverlightjavascript"&gt;javascript showModalPopup Silverlight "This page has an unspecified potential security risk"&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.norton.com/en/forums/windows-security-warning-cookies" title="http://community.norton.com/en/forums/windows-security-warning-cookies"&gt;http://community.norton.com/en/forums/windows-security-warning-cookies&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://connect.microsoft.com/PowerShell/feedbackdetail/view/922384/windows-security-warning-dialog-box-cannot-be-dismissed" title="http://connect.microsoft.com/PowerShell/feedbackdetail/view/922384/windows-security-warning-dialog-box-cannot-be-dismissed"&gt;"Windows Security Warning" dialog box cannot be dismissed | Microsoft Connect&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592063#M55357</guid>
      <dc:creator>PhilipKnight1</dc:creator>
      <dc:date>2015-03-30T17:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with showModalDialog and token authorized services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592064#M55358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this message is due to the JSAPI or Dojo if I google the exact message you are getting it looks like a standard error message. &lt;A href="http://support.microsoft.com/en-us/kb/154360" title="http://support.microsoft.com/en-us/kb/154360"&gt;Information About the Security Alert Message for Cookies in Internet Explorer and Outlook Express&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For issues like this where you suspect a bug in the software and want Esri to investigate your best bet is to contact Esri Support. They have the resources to help you troubleshoot the problem. Contact info for Esri support can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/" title="http://support.esri.com/en/"&gt;Esri Support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Edit: Just to verify I updated your test case to open &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cnn.com" rel="nofollow" target="_blank"&gt;http://www.cnn.com&lt;/A&gt;&lt;SPAN&gt; and got the same cookie error messages.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 18:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592064#M55358</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-03-30T18:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with showModalDialog and token authorized services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592065#M55359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;I was finally able to solve the issue. I was able to solve the issue by moving our site from the Trusted sites zone to the Intranet zone.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;The reason this works is because the Intranet zone by default will accept all cookies. Internet zone cookie settings are determined by the Privacy tab, Trusted sites zone by default prompts for all cookies, Restricted zone blocks all cookies. There is an option to override these settings by importing a P3P xml file into IE, but that seemed to be unsuccessful , so I think we will just have to live with having the site in the Intranet zone. This will obviously have to be done for each users machine. I already did for the Server machine, as the desktop you set up for us didn’t seem to be up and running. This might require that the settings for Trusted Sites have to also be set for the Intranet zone, but since it’s working for the server machine I assume that all the other desktop user machines are also using those settings for the Intranet zone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 14:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-showmodaldialog-and-token-authorized/m-p/592065#M55359</guid>
      <dc:creator>PhilipKnight1</dc:creator>
      <dc:date>2015-04-16T14:43:46Z</dc:date>
    </item>
  </channel>
</rss>

