title: Reading and Writing to a HTTP Header
body: <p>Currently I've got a web application with two pages, Login and Default.</p>
  
  <p>I've been tirelessly trying to write 2x GUID's which are returned into a HTTP header when a login procedure is executed in the code behind on the login page. I then want to read these out in the page load of the default page.</p>
  
  <p>I'm rather inexperienced with HTTP headers in C# and I tried the following earlier to add the values in from login with no success....</p>
  
  <pre><code>Request.Headers.Add("GUID", strGUID);
  Response.Headers.Add("GUID", strGUID);
  </code></pre>
  
  <p>To retrieve the values on the default page I was trying to use...</p>
  
  <pre><code>strGUID = Response.Headers.Get("GUID");
  </code></pre>
  
  <p>And then to finally clear the header of all the custom crap I'd piled into it, I was trying to use...</p>
  
  <pre><code>Response.Headers.Clear();
  </code></pre>
  
  <p>I've been looking around the Internet but I can't seem to find any tutorials on this or any step-by-step explanations of how to achieve a similar task.</p>