title: How can I detect if page was requested via a redirect?
body: <p>On a client's website there are loads of redirects going to a particular page. This page somehow needs to have a way detecting whether the request was direct (URI typed in manually) or a redirect.</p>
  
  <ol>
  <li><p>All of the redirects are 301 redirects. Due to SEO rules added indicators need to be avoided. (Google indexes urls with values separately)</p></li>
  <li><p>I have tried checking all environment variables but all of them are empty (which assume is normal) and in this respect internal redirects are not any different (I reckon).</p></li>
  <li><p>Detection needs to happen real time so log files are not an option.</p></li>
  </ol>
  
  <p>The process in short, parameters are registered in cookies via a script, then it 301 redirects to the page where the content is cookie driven. While cookies are registered the content won't change back to original when someone retypes the address in the address bar.</p>
  
  <p>I hope this makes sense.</p>
  
  <p>PREVIOUSLY: I was thinking about status codes, but I am not sure if there is a way to read that on the destination page or not. (We've clearified that it won't work)</p>