Hi all!
I have a simple app ( below ), I call a php file to write a log file on the
server. It works fine, when I use http. But when I try to use https, nothing
happens.
I put a crossdomain.xml to the root of the server but it didn't work.
System.security.loadPolicyFile script also placed in the code.
Can anyone help let me know what's the problem?
Thanks a lot!
My app:
<canvas>
<script>
System.security.loadPolicyFile("https://mydomain/crossdomain.xml");
</script>
<dataset name="dsTestHttps" secure="true"/>
<view id="win" layout="axis:y;spacing:2">
<method name="testcall">
// set URL for testing
var testURL = 'https://mydomain/sm/logger.php'
// do request
dsTestHttps.setAttribute( 'src', testURL );
dsTestHttps.doRequest();
</method>
<button onclick="parent.testcall()">call logger</button>
</view>
</canvas>
Láttál egy jó videót? Vagy Te készítettél? Nevezd, hogy díjazhassuk!
www.goldenblokk.hu
http://ad.adverticum.net/b/cl,1,6022,192114,246701/click.prm