Asp.NET Page redirection issue
<p>I have set the <code>defaultUrl</code> as </p>

<pre><code>&lt;forms loginUrl="Home/Login.aspx" defaultUrl="Items/Default.aspx" name="MySite" timeout="120" slidingExpiration="true" requireSSL="false"/&gt;
</code></pre>

<p>problem is when i first time login it takes me to the <code>defualtUrl</code> page but once i click on the logout button it logs me out, if i log back in again it takes me to <code>Home/Default.aspx</code> instead. i am using <code>FormAuthentication</code>.
I have tried following settings as well</p>

<pre><code>&lt;system.webServer&gt;
    &lt;defaultDocument enabled="true"&gt;
      &lt;files&gt;
        &lt;add value="Items/Default.aspx"/&gt;
      &lt;/files&gt;
    &lt;/defaultDocument&gt;
  &lt;/system.webServer&gt;
</code></pre>

<p>I dont know the reason why its happening. Any help will be appreciated.</p>

<p>Thanks</p>
