title: how can i get the url from history.go(-2)
body: <p>I have a question, is it possible to get the url from the history.go(-2)?
  Assuming i don't know that url.</p>
  
  <p><strong>edit</strong></p>
  
  <p>I need the url, because I want to check where the visitor was redirected from. there are two cases: 1 facebook, 2 directly on the website. the second step is an automatic user check. the third step is miscoded, but if I go back to step 1. I can bypass the error. with everything working fine. the problem is that I don't know where to redirect (being two forwarders).</p>