title: loginUrl in web.config
body: <p>I have Admin folder and User folder. and Login.aspx page inside user folder and Login.aspx page inside admin folder.</p>
  
  <p>i have web.config in admin folder and user folder, please help me for loginUrl in web.config.</p>
  
  <p>i use this code:</p>
  
  <p>web.config (admin folder):</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="~/Admin/Login.aspx" timeout="2880"/&gt;
  &lt;/authentication&gt;
  </code></pre>
  
  <p>web.config (user folder):</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="~/User/Login.aspx" timeout="2880"/&gt;
  &lt;/authentication&gt;
  </code></pre>
  
  <p>but its not working and display error.</p>