Form authentication

  • Thread starter Thread starter Dan Aldean
  • Start date Start date
D

Dan Aldean

Hello,

I try to use Form Authentication and I code this in Web.config:

<authentication mode="Forms" >

<forms name="appNameAuth" path="/" loginUrl="login.aspx" />

</authentication>



I also add a new WEB form as the login.aspx.

When I run the application it ignores the login form and it goes directly to
the main WEB form.

What is the meaning of the: name="appNameAuth"? Should it be part of the
main WEB form?

Is it something I miss?

Thanks.
 
Back
Top