Author: arun velagapalli | Posted on: 8/1/2008 11:57:12 AM | Views : 264

 protected void Login1_LoggingIn(object sender, LoginCancelEventArgs e)
    {
        if (!User.IsInRole("admin"))
        {
            Response.Redirect("profile.aspx");
        }
        else
        {
            Response.Redirect("admin.aspx");
        }
    }
even if i login as admin its taking me to profile.aspx 
...

Go to the complete details ...