0 Replies Latest reply on Sep 5, 2007 8:58 AM by asda2e

    SSL Problem in Flex

      I am using Flex with PHP via AMF PHP. Building application was fine. But it gave me problem when I deployed it to server which sits behind SSL layer. The problem is not associate with data accessing I can access data very well but I when I go to any other page after visiting flex part it just kicks user out to login page again. If I simply use HTTP protocol it does not happen but if I use HTTPS protocol it does. I did intense research in this problem. I tried following solutions.

      USE crossdomain file name crossdomain.xml

      loadpolicy file

      class="mx.messaging.channels.SecureAMFChannel" in service-config.xml

      class="flex.messaging.endpoints.SecureAMFEndpoint" in service-config.xml

      lastly here is my crossdomain.xml

      <?xml version="1.0" ?>
      <!-- https://imtecintranet/shopping -->
      <!DOCTYPE cross-domain-policy SYSTEM " http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
      <allow-access-from domain="*" secure="false" to-ports="443"/>
      ------------------------------------------------------------------------------------------ -------------------------------------------------------------
      All this solution mentioned in different websites including flex documentation didn't worked. It's not the problem from PHP side since it works perfectly with Flex if I use HTTP protocol so I think problem is in Flex side. I read in this website http://www.onflex.org/ted/2005/11/using-flash-player-under-https-with.php
      that flash player have bugs and so, I tried to solve this problem by using cross-domain.xml file but unfortunately this didn't solve the problem. Any help will be greatly appreciated.