title: Hot to get custom http-header in asp.net?
body: <p>I have an asp.net appliction on the one server. There I've added code on server-side in Page_Load:</p>
  
  <pre><code>Response.AddHeader("key", "password-key-from-hotel");
  </code></pre>
  
  <p>On the client side I have a form:</p>
  
  <pre><code>&lt;form ... action="www.link-to-another-domaint" &gt;
      &lt;input type="hidden" id="asd" value="fgh" &gt; 
      .... 
  &lt;/form&gt;
  &lt;script type="text/javascript"&gt;
      document.forms[0].submit(); 
  &lt;/script&gt;
  </code></pre>
  
  <p>Then on the other domain - there is also my other application - I'm trying to get the hedaer "key" by this code:<br/></p>
  
  <pre><code>Request.Headers["key"].ToString();
  </code></pre>
  
  <p><br/>But there is no such header. Is there is a desicion? Where is my mistake?</p>