AnsweredAssumed Answered

Is there a way to turn off need for cookies for services?

Question asked by TruthOf42 on Mar 26, 2015
Latest reply on Mar 27, 2015 by TruthOf42

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: javascript - Using showModalDialog (IE 9+) causes cookie prompt - Stack Overflow

 

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.

 

I have turned on and also tried turning off all cookies and the issue still is present (also described in stack overflow question).

 

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.

 

Label Layer | ArcGIS API for JavaScript

Identity Manager with info persisted client side | ArcGIS API for JavaScript

Any projection | ArcGIS API for JavaScript

Mobile ArcGIS.com | ArcGIS API for JavaScript

 

sites that DON'T show the issue on the client's machine

 

Basic service area | ArcGIS API for JavaScript

Directions | ArcGIS API for JavaScript

Geolocation with a temporal renderer | ArcGIS API for JavaScript

Class breaks renderer | ArcGIS API for JavaScript

Explore Heat Maps | ArcGIS API for JavaScript

Proportional symbols for lines | ArcGIS API for JavaScript

Smart Mapping - Show Data by Color | ArcGIS API for JavaScript

Use Heat Maps | ArcGIS API for JavaScript

Query data without a map | ArcGIS API for JavaScript

Manage results from multiple queries | ArcGIS API for JavaScript

 

 

---- UPDATE - EDIT ----

 

doing nothing more than executing the following code causes the issue:

 

var fLayer = new esri.layers.FeatureLayer(featureLayerURL);

 

Is there some way to turn off the need for the service to request a cookie?

 

Message was edited by: Philip Knight

Outcomes