title: find out the previous URL and the value after hash # in Laravel
body: <p>i'm developing a Laravel app. i'm looking for a way to figure out which page the user is coming from to save that value in the session and redirect to it later. so far i've found that you can use methods such as <code>URL::previous()</code> and <code>Redirect::back()-&gt;getTargetUrl()</code> to get the previous URL. however, the problem is that these methods do not grab the value after the URL hash. so, if a user is coming from a URL like this:</p>
  
  <p><code>http://example.com/#/application/some/route</code></p>
  
  <p>the ouput of the aforementioned methods is:</p>
  
  <p><code>http://example.com</code></p>
  
  <p>how can i grab the full URL, including the value after hash?</p>