G12Consult
Programmer
I have the following in my web.config file
When the user successfully authenticates, it takes them to the page app/admin/dashboard.aspx, however kicks me back to the login page. Shouldn't the location code above allow authenticated users to access the page?
Code:
<system.web>
<authentication mode="Forms">
<forms name=".loginform" loginUrl="login.aspx" protection="All" timeout="30" slidingExpiration="true" path="/" />
</authentication>
<authorization>
<deny users="?" />
<!-- Deny all unauthenticated users -->
</authorization>
</system.web>
Code:
<location path="app/admin" >
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
When the user successfully authenticates, it takes them to the page app/admin/dashboard.aspx, however kicks me back to the login page. Shouldn't the location code above allow authenticated users to access the page?