title: How to get previous URL on session expire in ASP.NET MVC
body: <p>I am trying to get <strong>previous url</strong> on empty session for example if a user open a webpage directly by typing url e.g. xyz.com/dashboard/ then because he was not logged in and session was empty so he will be redirected to xyz.com/login/ where he will enter his credentials and will automatically redirected to xyz.com/dashboard/</p>
  
  <p>Thanks</p>