title: Routing with ASP.NET Web Forms with Forms Authentication
body: <p>FYI - This is not MVC.</p>
  
  <p>I am using web form authentication and have the following in my web.config.</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="~/en/Admin/Login" timeout="2880" defaultUrl="/DashBoard" /&gt;
  &lt;/authentication&gt;
  </code></pre>
  
  <p>I am also using Routing for bilingual/culture.  </p>
  
  <p>My route looks like this:</p>
  
  <pre><code>RouteTable.Routes.MapPageRoute(
      routeName, "{lang}/Admin/Login", "/Admin/Login.aspx", true, defaults, constraints, dataTokens);
  </code></pre>
  
  <p>If a user tries to access a restricted page they will be redirected to /en/Admin/Login based the value in the web.config.  My problem is if a user is viewing the site in french, the page is redirected to the English log in page when it needs to redirect to /fr/Admin/Login.</p>
  
  <p>Is there any way around this as the entire site needs to be bilingual?</p>