Hi,
I have aoto log users in my application. i used below code.
else if (user.IsApproved == true)
{
FormsAuthentication.SetAuthCookie(user.UserName, false);
Membership.UpdateUser(user);
}
And in my app there are 3 roles. I have restricted pages for each roles. Ex...
<location path="~/Master/Reports.aspx">
<system.web>
<authorization>
<allow roles="ClientMaster,ClientAcctAdmin,ClientPropManager" />
<deny users="*" />
</authorization>
</system.web>
</location>
But this is not working. Can any one tell me what i the wrong.
Thanks
...
Go to the complete details ...