FMMacca
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by FMMacca
-
-
Thanks for the debug code justsomeguy. I used it and got the below;CheckPass: testingDecrypting CheckPassCheckPass now: ttQX5l0Returned(Password): testingError: Invalid PasswordThe password you entered was incorrect.password is EXACTLY as what is in the database!
-
Hello ASP PRO's,Im having real trouble with some new code I have. I have ASP pages and a MS Access database, when a user signs-up, they get sent their username and password to their email account, I can see in the access database that the entry is correct but when the user tries to sign in with the account they get a;Error: Invalid PasswordThe password you entered was incorrect.Obviously I've made sure the username and password is correct, but no matter what I do, no one is able to sign-in, here is the code where I think its all going wrong;
'Make sure password is correctCheckPass = Request("pwd")If LCase(Request.ServerVariables("PATH_TRANSLATED")) <> LCase(GamePath & "\members\verifylogin.asp") Then CheckPass = Decrypt(CheckPass)End IfIf CheckPass <> Returned("Password") Then Error "Invalid Password", "The password you entered was incorrect."End IfCheckPass = Encrypt(Returned("Password"))
Any info would be appreciated.
User Password Problems
in ASP
Posted
OH ok, got you.So, I removed the line "CheckPass = Decrypt(CheckPass)" from the code but doesnt this mean that the password will now not be encrypted?