Jump to content

Send mail in and endcode ?how to in ASP


haibec
 Share

Recommended Posts

It's not very difficult, you will want to send the user an email with a link. You probably don't even need to encode the link with MD5, but you will want to keep track of time and have the link expire. When they register, you can store the date and time they register in the database, and when they click on the link you can check to make sure it is no more than 24 hours or 48 hours or whatever you want. Instead of putting their MD5 password in the link, just have them type their password in again when they activate, it will probably be more secure.

Link to comment
Share on other sites

It's not very difficult, you will want to send the user an email with a link.  You probably don't even need to encode the link with MD5, but you will want to keep track of time and have the link expire.  When they register, you can store the date and time they register in the database, and when they click on the link you can check to make sure it is no more than 24 hours or 48 hours or whatever you want.  Instead of putting their MD5 password in the link, just have them type their password in again when they activate, it will probably be more secure.

Thank you . if you have exemple .please post into this forum .Thank you very much!
Link to comment
Share on other sites

Well, what I described is several different pages. You can do a Google search on how to send email with ASP (it differs depending on which version of Windows the server is running, you can thank Microsoft for that), and the page that you link to in the email you will want to probably check the querystring in the URL for a user ID or something, look up the user in the database and check the timestamp, and either give them a form to do whatever you want to do (change their password, whatever), or just set an 'active' field in the database to be true. The point is that it really matters what you want to do, there's nothing I know of that you can just copy and paste and make it work. Things like this require plenty of programming knowledge, but you are welcome to search on Google or whatever you want and see if you can find something that suits your needs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...