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

3019
1
03-26-2015 12:20 PM
PhilipKnight1
Occasional Contributor

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

0 Kudos
1 Reply
PhilipKnight1
Occasional Contributor

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.

0 Kudos