title: Adding custom headers
body: <p>I need to create and add custom headers to an ASP.NET 2.0 application.
  The case is simulation of an SSO-login in our dev/test environment.</p>
  
  <p>When I try to add headers I run into the "Not supported on this platform." 
  error. BigJim has a nice post on the subject here: 
  <a href="http://bigjimindc.blogspot.com/2007/07/ms-kb928365-aspnet-requestheadersadd.html" rel="nofollow noreferrer">http://bigjimindc.blogspot.com/2007/07/ms-kb928365-aspnet-requestheadersadd.html</a></p>
  
  <p>The root of my problem lies in the fact that I need to simulate various 
  persons logging into my application. Not just adding static data in a 
  HttpModule. I need to take values from a couple of TextBoxes and transfer 
  information from these into custom headers and then re-direct the user. The 
  HttpModule stuff happens to early in the pipeline...</p>
  
  <p>Does anyone now if there exsist a simple redirect/proxy solution that one 
  could use in a dev environment? Or have simple/beautiful way of doing it in code?</p>