Hi,
I am trying to submit a custom http-header with the "navigateToUrl"
function. Unfortunately my custom header "SessionID" will not transferred to
the iis. Where is my mistake?
Thanks for any help,
Harald
Code:
var urlReq:URLRequest = new URLRequest("Order.ashx?cmd=print");
urlReq.method = URLRequestMethod.GET;
urlReq.requestHeaders = [new URLRequestHeader("SessionID",
"1234567")];
navigateToURL(urlReq);
Http Request:
HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:de
HTTP_HOST:www.project-fe.net
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727)
HTTP_UA_CPU:x86
Connection: Keep-Alive
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: de
Host: www.project-fe.net
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727)