title: Set Referer header in asp.net
body: <p>&nbsp;  This should be an easy question, but I've been unable to solve it.  I'm trying to change the Referral header prior to redirecting the page of an HttpResponse object.  I know this can be done in an HttpWebResponse, but can't get this to work for a standard Page.Response.<br />
  &nbsp; I'm trying to just set the referer header to look like it originated from a temp page on my site (this is for analytics tracking for an external system). <br />
  &nbsp;Is this possible to do??<br />
  &nbsp;I've tried to use the code below (as well as variations such as Response.AppendHeader and Response.AddHeader), however the Referer always shows as the page that the Request initiated from.</p>
  
  <pre><code>      Response.Headers.Add("Referer", "http://test.local/fromA");
        Response.Redirect(HttpContext.Current.Request.Url.AbsoluteUri);
  </code></pre>
  
  <p>If not via .net can this be accomplished via js?<br />
  Thanks!</p>