xtmfwahoo

Requests not always using the Proxy Url

Discussion created by xtmfwahoo on Nov 7, 2012
Latest reply on Nov 8, 2012 by xtmfwahoo
I have a map viewer that has the following settings-

esri.config.defaults.io.proxyUrl = "/proxy.ashx";
esri.config.defaults.io.alwaysUseProxy = true;

But when I look at the network trace in IE, some URLs are using the proxy and some aren't.  What would be causing this?

For example I see:

https://localhost/proxy.ashx?https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/legend?f=json&callback=dojo.io.script.jsonp_dojoIoScript8._jsonpCallback
https://localhost/proxy.ashx?https://[server name]/ArcGIS/rest/services/Org/Basemap/MapServer/legend?f=json&callback=dojo.io.script.jsonp_dojoIoScript6._jsonpCallback

then later I see

https://[server name]/ArcGIS/rest/services/Org/Basemap/MapServer/4/images/714F5E24

Outcomes