0 Replies Latest reply on May 23, 2007 8:51 AM by sathishkumarr

    addRequestHeader(), How to set the Proxy-Authenticate & Authorization

    sathishkumarr
      Hi guys,
      I have created flash web page, Use and sendAndLoad method. I want set the proxy Authenticate and Authorization. I don't know how to set the addRequestHeader.

      var result_lv:LoadVars = new LoadVars();
      result_lv.onLoad = function(success:Boolean)
      {
      if (success)
      {
      result_ta.text = this;
      }
      else
      {
      result_ta.text = "Error connecting to server.";
      }
      };
      var send_lv:LoadVars = new LoadVars();

      send_lv.addRequestHeader();
      send_lv.sendAndLoad(" http://www.flash-mx.com/mm/greeting.cfm", result_lv, "POST");