change password

Results 1 to 3 of 3

Thread: change password

  1. #1
    pass Guest

    Default change password

    Trying to change users password and this is what I have done:<BR>1.opened the database<BR>2. update tablewithpassword set passwordcolumn=&#039;newpassword&#039; where ID=id<BR>However, I the code is not working! please help

  2. #2
    Join Date
    Dec 1969

    Default RE: change password

    need to see code

  3. #3
    pass Guest

    Default RE: change password

    Below is the code:<BR> If Request.form("change") = 1 Then <BR> db_path = Server.MapPath("storage_db.mdb")<BR> set oConn = Server.CreateObject("ADODB.Connection")<BR> oConn.Open "DBQ="& db_path &";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;"<BR> <BR> Password = Request.form("new")<BR> UPDATE Userprofile SET password=&#039;Password&#039; WHERE username=login_name<BR> <BR> oConn.close<BR> End If<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts