title: Automatically redirect to login.aspx on submit
body: <p>My application is showing strange behaviour. Whenever I press submit button on a page to save it redirects to /login.aspx automatically. The user is signed in and the code doesn't redirect to login.aspx. I've searched all solution files but I never found the text "login.aspx" and database also doesn't contain "login.aspx". I wonder how the system redirects to this page. Also this page doesn't exist in my application.
  Please notice that this issue is only on live site.
  Here's the error:</p>
  
  <pre><code>Server Error in '/' Application.
  </code></pre>
  
  <p>The resource cannot be found.</p>
  
  <p>Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. </p>
  
  <p>Requested URL: /login.aspx</p>
  
  <p>Version Information: Microsoft .NET Framework Version:2.0.50727.4211; ASP.NET Version:2.0.50727.4209</p>