title: asp.net forms authentication redirect problem
body: <p>The default document feature is turned off in IIS and here's the situation...</p>
  
  <p>My start page for my project say is A.aspx.  I run the project and sure enough, A.aspx appears in the url of the browser.  Like it should though, A.aspx finds no user logged in and redirects to Login.aspx like it should.</p>
  
  <p>A.aspx:</p>
  
  <pre><code>    if (Session["UserStuff"] == null)
          Response.Redirect("~/Account/Login.aspx"); 
  </code></pre>
  
  <p>The login.aspx shows up BUT when the user Logs in, the code:</p>
  
  <p>FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, true);</p>
  
  <p>always redirects to "Default.aspx" and not "A.aspx"</p>
  
  <p>I've examined FormsAuthentication.GetRedirectUrl and sure enough it returns "Default.aspx"</p>
  
  <p>I'm stumped????</p>