S
shapper
Hello,
I need to check if a user is authenticated. I tried everything I could
think and find:
If Membership.ValidateUser("shapper", "27lamps11") Then
Response.Write(Request.IsAuthenticated.ToString)
Response.Write(My.User.IsAuthenticated.ToString)
Response.Write(Me.User.Identity.IsAuthenticated.ToString)
Else
Response.Write("# User is Not Authenticated #")
End If
I get "FalseFalseFalse".
What is going on?
Thanks,
Miguel
I need to check if a user is authenticated. I tried everything I could
think and find:
If Membership.ValidateUser("shapper", "27lamps11") Then
Response.Write(Request.IsAuthenticated.ToString)
Response.Write(My.User.IsAuthenticated.ToString)
Response.Write(Me.User.Identity.IsAuthenticated.ToString)
Else
Response.Write("# User is Not Authenticated #")
End If
I get "FalseFalseFalse".
What is going on?
Thanks,
Miguel