Simple question. I have a ASP.NET 4 membership with visual basic. When my users are authenicated I have them directed to default.aspx
I need a simple hyperlink or button on that when clicked or selected it will redirect them to a different page based on their
username. Can some pleae let me know what I am doing wrong. I am not sure what value to use to check who is logged in.
My code is attached
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
If Session("LoginName") = "Rick" Then