V
Vinod
Hi,
I am developing a aspx login screen based on the roles (Admin,User). If
the role is Admin he needs to acess a
particular folder in the system.
If the role is User he needs to access another folder in the system.
How can i accomplish it.
Currently i am using this code but its not working fine
<location path="alfa/admin">
<system.web>
<authorization>
<allow roles ="Admin" />
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="engine">
<system.web>
<authorization>
<allow roles ="Users"/>
<deny users="*" />
</authorization>
</system.web>
</location>
In the login screen if i enter a valid login also it is not redirecting
it to a page in the admin folder . It attaches the redirection url and
stays in the same page.
Any Help will be very grateful
Regards
Vinod
I am developing a aspx login screen based on the roles (Admin,User). If
the role is Admin he needs to acess a
particular folder in the system.
If the role is User he needs to access another folder in the system.
How can i accomplish it.
Currently i am using this code but its not working fine
<location path="alfa/admin">
<system.web>
<authorization>
<allow roles ="Admin" />
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="engine">
<system.web>
<authorization>
<allow roles ="Users"/>
<deny users="*" />
</authorization>
</system.web>
</location>
In the login screen if i enter a valid login also it is not redirecting
it to a page in the admin folder . It attaches the redirection url and
stays in the same page.
Any Help will be very grateful
Regards
Vinod