I am working on trying to change the PHPSESSID that is being sent to
the server on each service call. With NetConnection I can add a new
header but that header is just inside of the AMF call. Is there a way
to actually change the HTTP header from AS3? This is what I tried but
I need to do this up a level on the network stack. 

private var gateway:String = "http://localhost/amfphp/gateway.php";;
private var connection:NetConnection;
                
public function Main() {
   var myHeader = {PHPSESSID:'123456'};
   connection = new NetConnection;
   connection.connect(gateway);
   connection.addHeader("Cookie", true, myHeader);
etc....


Thanks for any insight that you might have! 
Wade Arnold. 

Reply via email to