Forms authentication

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to use Forms authentication for my site, I've got
<authentication mode="Forms"><forms loginUrl="MyLoginPage.aspx">
.....</forms></authentication>
in my web.config file, and I've designed a login page. But the login page never gets displayed. How can I make the login page get displayed whenever someone visits the site.

Thanks.
 
This is likely because the page you try to access is allowed to anonymous
users i.e. you don't need to be authenticated. Yo'ull have to add a deny
users="?" in the authorization section to disallow anonymous access...

Patrice

Bonj said:
I'm trying to use Forms authentication for my site, I've got
<authentication mode="Forms"><forms loginUrl="MyLoginPage.aspx">
...</forms></authentication>
in my web.config file, and I've designed a login page. But the login page
never gets displayed. How can I make the login page get displayed whenever
someone visits the site.
 
Back
Top