title: ASP.NET Get previous page, using MasterPage
body: <p>I need to access the previous page URL but because I am using a MasterPage, I am having difficulty achieving this.</p>
  
  <pre><code>Request.UrlReferrer
  </code></pre>
  
  <p>This only returns the URL of the current page.</p>