Forms based authentication again

M

Morten

Hi!

I have implemented forms based authentication in one of my web projects. It
finally works. The problem is that I have another project in a directory
underneath this project. This project of course has its own web.config etc.
I've modified the web.config file in the "sub project" like this:

<authentication mode="Forms">

<forms name=".Project1" loginUrl="/logon.aspx" protection="All" path="/"
timeout="30" />

</authentication>

<authorization>

<deny users ="?" />

<allow users = "*" />

</authorization>

It appears to works since I'm redirected to the login page when I try to
access pages in the subfolder but when I key in the login and password I
don't get redirected. Does anyone know why this might happen?

Best regards

Morten
 
M

Mohamoss

hi
i think this really depends on your authentication code
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

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

Top