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
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