| Forgot Password Tool ASP Script - ASP Web Pro |
|
ASP ScriptsFORGOT PASSWORDOne common problem with having a secure website is that occassionally members will lose or forget their login password. Well, if you collect their email address when they first register, this is an easy problem to handle. You can simply include a "Forgot Password" where the user enters the email address that they registered with and their password will be sent to them immediately. The first thing you need to do is create a database called
MyDatabase. Then create a table called tblUsers with these
fields: Now, create a page called password.asp page with the code below
Next, create a page called confirm.asp with the code below:
In this example, we are using the CDONTS email component to send our email. You can easily replace this with a different email component script like ASPMail or ASPEmail. That's all there is to it. Now, you have a fully automated Forgot Password tool that your website members can use anytime without hassle. That's customer service!
|
||||
|
Main Menu Other Resources
Last Updated:
|
||||
|
© 1997-2008 ASP Web Pro, Inc. | Terms of Use
|