Hi All,
I should apologize for posting something like that but I've lost already too much time on it.
I have a web app with 3 roles 1 of them is Admin
Here is my loggingIn Event code:
//url shortcuts
string adminURL = "~/Admin/";
string FillerURL = "~/Filler/";
string CheckerURL = "~/Checker/";
//finding textbox
TextBox Username = (TextBox)Login1.FindControl("Username");
// Sorting Users based on roles
if (Roles.IsUserInRole(Username.Text, "Admin"))
{ Response.Redirect(adminURL); }
Go to the complete details ...