web.config forms authentication, cookiename
<p>I have a web.config with the following: </p>

<pre><code> &lt;system.web&gt;
&lt;customErrors mode="Off"/&gt;

&lt;authentication mode="Forms"&gt;
  &lt;forms loginUrl="Login.aspx" name="SIPE_ASPXAUTH"&gt;
    &lt;credentials passwordFormat="Clear"&gt;
      &lt;user name="user1" password="123456"/&gt;
      &lt;user name="user2" password="123456"/&gt;
      &lt;user name="user3" password="123456"/&gt;
    &lt;/credentials&gt;

  &lt;/forms&gt;

&lt;/authentication&gt;


&lt;authorization&gt;

  &lt;deny users="?"/&gt;
&lt;/authorization&gt;
&lt;compilation debug="true"/&gt;
</code></pre>

<p></p>

<p>This web.config always redirects me to the following url</p>

<pre><code>http://localhost:53077/Login.aspx?ReturnUrl=%2fDefault.aspx
</code></pre>

<p>My start page is a Login.aspx and even after entering the correct credentails, it redirects me to the above url.</p>

<p>So here's what I did. 
I took out the name property in the </p>

<pre><code> &lt;forms loginUrl="Login.aspx"&gt;
</code></pre>

<p>and left everything else untouched.
It works perfectly.</p>

<p>Can anyone pls explain why.
I understand that this is a cookiename and the default is ASPXAUTH. This cookie is used to authenticate a user. Also it is stored in tools..options... </p>

<p>What is the use of setting this cookiename. Is it to allow cross browser functinality.n
How would I make this to work by having the name property in the  <code>&lt;forms loginUrl="Login.aspx"&gt;</code></p>

<p>Thank u</p>
