title: Redirect and keep Referral Url
body: <p>I have a page which I redirect from it to another page (let's call it "middle page") with parameters in the query string. and I want to redirect from the middle page to some other page in another domain without losing the referral url (the query string of the middle page). my project is MVC C#. </p>
  
  <p>I've tried:
  - redirecting in the server side -> didn't work since the query string of the middle page didn't have a chance to change in the client side.
  - redirecting in the client side through java script: location.replace/ location.href -> didn't keep the referral url.
  - redirecting in the client side with Meta tag refresh -> didn't work.</p>
  
  <p>I did see that if i place a link () in the middle page, clicking it would keep the referral url. so my last resolution was placing a javascript that automatically clicks on the link on document load-> it didn't work as well.</p>
  
  <p>anyone has a solution for this?</p>