A
antonyliu2002
I am not sure how to google this concept.
Basically, what I wanna do is to direct different users to different
pages. I do not have a whole lot users.
For example, if user name 'tomcat' logins successfully with the correct
password, I want to direct this guy to 'tomcat_page.aspx'. And if the
user name 'jerrymouse' logins successfully with the right password, I
want to direct him to 'jerrymouse_page.aspx'.
In other words, I want to be able to do
If (txtUsername.Text = "tomcat") Then
Response.Redirect("tomcat_page.aspx")
Else If (txtUsername.Text = "jerrymouse") Then
Response.Redirect("jerrymouse_page.aspx")
End If
I think this would be a pretty easy task, but I am new to
authentication/authorization and have no clue.
Basically, what I wanna do is to direct different users to different
pages. I do not have a whole lot users.
For example, if user name 'tomcat' logins successfully with the correct
password, I want to direct this guy to 'tomcat_page.aspx'. And if the
user name 'jerrymouse' logins successfully with the right password, I
want to direct him to 'jerrymouse_page.aspx'.
In other words, I want to be able to do
If (txtUsername.Text = "tomcat") Then
Response.Redirect("tomcat_page.aspx")
Else If (txtUsername.Text = "jerrymouse") Then
Response.Redirect("jerrymouse_page.aspx")
End If
I think this would be a pretty easy task, but I am new to
authentication/authorization and have no clue.