Change Password
-
Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!
-
Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!
Well, I guess you want to write a procedure that takes the id of the currently logged in person, checks if the old password entered was correct for that user, and changes it to the new password. That seems pretty obvious, but we can't offer more help than that because, beyond the trivial overview, the specifics are entirely dependant on the specifics of your database schema.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!
This is a really trivial process. First, you want to check that the user credentials are correct. If so, check the new password against the confirmed new password. If all is good, then run an update query based on whatever your database schema is.
"That's no moon, it's a space station." - Obi-wan Kenobi
-
Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!
this is a bit long process and it includes learning and reading
It is Good to be Important but! it is more Important to be Good