S
shapper
Hello,
I am trying to check if a user is valid as follows:
Response.Write(Membership.ValidateUser("usr", "pass").ToString)
It always gives me FALSE.
The username and password are correct. In fact, if I authenticate the
user with the same values:
FormsAuthentication.Authenticate("usr", "pass")
FormsAuthentication.SetAuthCookie("usr", True)
The user is authenticated.
I have no idea what is going on!
Could someone, please, help me out?
Thanks,
Miguel
I am trying to check if a user is valid as follows:
Response.Write(Membership.ValidateUser("usr", "pass").ToString)
It always gives me FALSE.
The username and password are correct. In fact, if I authenticate the
user with the same values:
FormsAuthentication.Authenticate("usr", "pass")
FormsAuthentication.SetAuthCookie("usr", True)
The user is authenticated.
I have no idea what is going on!
Could someone, please, help me out?
Thanks,
Miguel