I am using ASP.NET and I want to be able to redirect user to another page from web config.
I have number of restrictions like:
<location path="Structures.aspx">
<system.web>
<authorization>
<allow roles="Admin"/>
<deny users="*" />
</authorization>
</system.web>
</location>
And it will be great if I redirect user to some page. I saw this post but it's not what I was looking for.
I need to do it in web.config and not in code behind. Thanks!