I have two different login pages for two different sections of my site. I would like to declare two sets of defaultUrls and loginUrls for each page / login section. Is it possible? Does anyone have sample code to do this?
I save both sections with similar code in the web.config files in each sections folder. Theoretically, I would like to add to this configuration file where you need to enter this section.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<allow roles="Administrator"/>
<deny users="*" />
</authorization>
</system.web>
</configuration>
source
share