Velocity Reviews

Velocity Reviews (
-   ASP General (
-   -   HTTP_ Custom Headers do not overwrite in setRequestHeader (

Noel Volin 11-21-2005 10:17 PM

HTTP_ Custom Headers do not overwrite in setRequestHeader
If anyone has any ideas on this, it would be greatly appreciated. I will
posted the code below, however, the first GET sets and reads the Custom
Header as you would expect. After that, only the original Header value will
be returned by the Request.ServerVariables("HTTP_XML") call. I cannot seem
to deduce the problem. This happens on our server, as well as machine

Client Code snippet:

var str_xml_request = str_xml_request =
"<request xmlns:branch_details='http://admin/branch_details'>"+
obj_select_branch.options( edIndex).value +

// go get the details..."GET","xml_request_branch_deta ils.aspx",false);
g_obj_xml_http.setRequestHeader("xml",str_xml_requ est);


Server Code snippet:

var obj_xml_dom = null;
obj_xml_dom = new ActiveXObject("microsoft.xmldom");
obj_xml_dom.async = false;

Response.Write(Request.ServerVariables("HTTP_xml") );

----- End Code -----

After the first run, the same response is always returned.

Much Appreciated,

Noel Volin

All times are GMT. The time now is 07:51 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.