title: MSXML2.ServerHTTP in Coldfusion 8 fails to post data
body: <p>In trying to work around the buggy <code>&lt;cfhttp&gt;</code> SSL implementation, I switched to using COM and MSXML2.ServerHTTP directly. Unfortunately the POST data fails to arrive at the destination page. GET works, but I'd rather not use it, since I have no idea if the request urls are logged and I don't want to pass sensitive data if I can help it. (Am I worrying too much?)</p>
  
  <p>My problem is similar to this one: <a href="http://objectmix.com/xml-soap/87408-sending-post-variables-using-msxml2-serverxmlhttp-3-0-a.html" rel="nofollow">http://objectmix.com/xml-soap/87408-sending-post-variables-using-msxml2-serverxmlhttp-3-0-a.html</a></p>
  
  <p>Here's my code:</p>
  
  <pre><code>&lt;cfset querystring = "?CustomerID=#CustomerID#&amp;OrderDelRecipient=#OrderDelRecipient#&amp;OrderCompany=#OrderCompany#&amp;OrderTelephone=#OrderTelephone#&amp;OrderNotes=#OrderNotes#&amp;OrderDelStreet=#OrderDelStreet#&amp;OrderDelCity=#OrderDelCity#&amp;OrderDelState=#OrderDelState#&amp;OrderDelZip=#OrderDelZip#"&gt;
  &lt;cfobject type="COM" action="Create" name="objSrvHTTP" class="MSXML2.ServerXMLHTTP.3.0"&gt;
      &lt;cfset urlstring = "http://www.pascaltechnologies.com/saveorder.cfm"&gt;
  &lt;cfset temp = objSrvHTTP.open("post", urlstring, false)&gt;
  &lt;cfset temp = objSrvHTTP.setRequestHeader("Content-Type", "application/x-www-form-
  urlencoded")&gt;
  &lt;cfset temp = objSrvHTTP.send("#querystring#")&gt;
  &lt;cfset FileContent = objSrvHTTP.responsetext&gt;
  &lt;cfoutput&gt;
      #filecontent#
  &lt;/cfoutput&gt;
  </code></pre>
  
  <p>When I check for the Form vars on the <strong>called</strong> page (saveorder.cfm)</p>
  
  <pre><code>&lt;cfif Not IsDefined("CustomerID") OR NOT IsNumeric(CustomerID)&gt;
      ERR 609 - INVALID PARAMETERS PASSED.
      &lt;cfabort&gt;
  &lt;/cfif&gt;
  </code></pre>
  
  <p>they are empty, so the above code gets triggered.</p>
  
  <p>Is this because I need to copy the response to the form var? e.g. <code>&lt;cfset FORM.CustomerID = objSrvHTTP.CustomerID&gt;</code> (You'd think it wouldn't be necessary since it isn't needed with GET.) Or am I simply not implementing something correctly? </p>