originalxavier
Programmer
Hello all,
I am trying to create a page where users can change their password. This seems like it should be a relatively simple but isn't (as most things aren't). I am using Dreamweaver to develop, I am connecting to an access DB and am using ASP VBScript. I can get the page to check the user names access level (admin, user, etc.) and I can even create a recordset that will only return a dataset that is specific to the user ID that has logged on at the home page. The problem is that I do not want the user to just be able to change the password.
I want the user to have to enter the old password and the new one twice. The old password will then be checked against what is in the database, and the two new passwords should be checked against each other to make sure they match before actually updating the record.
I tried searching for this in the forum but to no avail. If anyone can offer input, or a link to an example (whether it is on tek-tips or another site) where I could find out more about such an action, it would be greatly appreciated.
Thanks in advance,
Xavier
----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rich Cook
----------------------------------------
I am trying to create a page where users can change their password. This seems like it should be a relatively simple but isn't (as most things aren't). I am using Dreamweaver to develop, I am connecting to an access DB and am using ASP VBScript. I can get the page to check the user names access level (admin, user, etc.) and I can even create a recordset that will only return a dataset that is specific to the user ID that has logged on at the home page. The problem is that I do not want the user to just be able to change the password.
I want the user to have to enter the old password and the new one twice. The old password will then be checked against what is in the database, and the two new passwords should be checked against each other to make sure they match before actually updating the record.
I tried searching for this in the forum but to no avail. If anyone can offer input, or a link to an example (whether it is on tek-tips or another site) where I could find out more about such an action, it would be greatly appreciated.
Thanks in advance,
Xavier
----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rich Cook
----------------------------------------