Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
8 Points
59 Posts
Feb 26, 2007 10:52 PM|LINK
Hey Luis,
we made it ;-)). But it was easier than with your one. The following code works now perfectly:
Protected
Response.Redirect(
Many thanks for all your help!!!
Wish you a nice day, Chris
chris_koehne
Member
8 Points
59 Posts
Re: User Login redirect to differnet pages
Feb 26, 2007 10:52 PM|LINK
Hey Luis,
we made it ;-)). But it was easier than with your one. The following code works now perfectly:
Protected
Sub Login1_LoggedIn(ByVal sender As Object, ByVal e As System.EventArgs) If Roles.IsUserInRole(Login1.UserName, "role1") = True ThenResponse.Redirect(
"side1.aspx") Else If (Roles.IsUserInRole(Login1.UserName, "role2")) = True ThenResponse.Redirect(
"side2.aspx") ElseResponse.Redirect(
"side3.aspx") End If End If
End SubMany thanks for all your help!!!
Wish you a nice day, Chris