R
Régis Soares
Hi!
How can I put two login pages in my Web Application?
for example:
....
<authentication mode="Forms">
<forms name="Auth1" loginUrl="LoginPage1.aspx" />
</authentication>
<authentication mode="Forms">
<forms name="Auth2" loginUrl="LoginPage2.aspx" />
</authentication>
....
<location path="Foder1">
<system.web>
<authorization>
<deny users="*" /><!-- the user must be redirected to LoginPage1.aspx -->
</authorization>
</system.web>
</location>
<location path="Foder1">
<system.web>
<authorization>
<deny users="*" /><!-- the user must be redirected to LoginPage2.aspx -->
</authorization>
</system.web>
</location>
Thanks
How can I put two login pages in my Web Application?
for example:
....
<authentication mode="Forms">
<forms name="Auth1" loginUrl="LoginPage1.aspx" />
</authentication>
<authentication mode="Forms">
<forms name="Auth2" loginUrl="LoginPage2.aspx" />
</authentication>
....
<location path="Foder1">
<system.web>
<authorization>
<deny users="*" /><!-- the user must be redirected to LoginPage1.aspx -->
</authorization>
</system.web>
</location>
<location path="Foder1">
<system.web>
<authorization>
<deny users="*" /><!-- the user must be redirected to LoginPage2.aspx -->
</authorization>
</system.web>
</location>
Thanks