I am trying to figure out how to properly setup my crossdomain file. Here is what I have so far:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="contoso.com"/>
<allow-access-from domain="*.contoso.com"/>
</cross-domain-policy>
The flex app is configured to access a asp.net webservice at
http://www.contoso.com/webservice.asmx
When I navigate to:
`http://www.contoso.com/flexapp.html`
the application loads and works just fine. However, when I navigate to:
`http://contoso.com/flexapp.html`
the flex app fails to communicate with the webservice due to a sandbox security error. Any body know how I need to configure my crossdomain.xml file so that users do not have to remember to include "www" in the url?
Thank you for your help.