Jump to content

FMMacca

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by FMMacca

  1. 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!

  2. 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.

×
×
  • Create New...