title: How do I use Server.Transfer method in asp.net MVC?
body: <p>I am trying to use it for Login page.</p>
  
  <pre><code>if (Session["UserID"] == null)
       Server.Transfer("/Account/Login", true);
  </code></pre>
  
  <p>But I get The Exception  -> Error executing child request /Account/Login.</p>