2 Replies Latest reply on Aug 26, 2008 9:03 PM by yigitt

    Retrieve POST variables just like in a normal HTTP forms

    JuggerOgre
      Hi All :D

      Can anyone tell me how to retrieve POST variables just like in a normal HTTP form?
      I have 2 flex applications. One will send the POST variables and I would like the other to retrieve
      these variables. How to implement this?

      Thanks :D
        • 1. Re: Retrieve POST variables just like in a normal HTTP forms
          Level 7

          "JuggerOgre" <webforumsuser@macromedia.com> wrote in message
          news:g92bce$kgf$1@forums.macromedia.com...
          > Hi All :D
          >
          > Can anyone tell me how to retrieve POST variables just like in a normal
          > HTTP
          > form?
          > I have 2 flex applications. One will send the POST variables and I would
          > like
          > the other to retrieve
          > these variables. How to implement this?

          Flex is a client side application. You could send them from one client and
          then request them from the other client, or you could use something like
          BlazeDS to "push" the information.

          HTH;

          Amy


          • 2. Re: Retrieve POST variables just like in a normal HTTP forms
            yigitt
            Since flex is a client side technology, you can not read POST variables directly. But you can parse them with a server side language (e.g. php), change them into javascript variables(inside the page where you load swf or any page where you can reach from your swf -e.g. another frame-), then read them from flex using externalInterface.