I use ASP.NET and ASP.NET authentication.
I have a site with a structure like:
ROOT
- CMS
- AdminCms
- web.conf*
- FORUM
- AdminForum
- web.conf*
- web.conf ***
Now in web.conf ***I use for CMS LOGIN PAGE
<authentication mode="Forms">
<forms loginUrl="~/Cms/AdminCms/Login.aspx" timeout="2880" />
</authentication>
My questions:
- How can I create another LOGIN PAGE folder for another folder? (if the user uses, for example, FORUM).
- Perhaps insert in web.conf * another
<authentication mode="Forms">
<forms loginUrl="~/Forum/AdminForum/Login.aspx" timeout="2880" />
</authentication>
Any ideas?
source
share