Tags: , , | Categories: Blog Posted by al on 6/8/2011 7:01 PM | Comments (0)

For JavaScript and CSS3 to access your website resources without having to post using proxies, CSS3 is now here to help. On your web application add on your web.config under system.webServer and all response to javascript will include that letting JavaScript know that is ok to post without the limitation and without using a proxy.

       <add name="Access-Control-Allow-Origin" value="*" />

In ArcGIS 10 you can enable that by adding it to the web.config found at c:\inetpub\wwwroot\ArcGIS\rest\web.config

Hope this helps



blog comments powered by Disqus