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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top