haibec Posted June 28, 2006 Share Posted June 28, 2006 I have a register.asp page . I want when member register into my DB .The system auto send to Member a link .this link must encode to MD5 . When user click in this link . This Account to be active. Please help me! Link to comment Share on other sites More sharing options...
justsomeguy Posted June 28, 2006 Share Posted June 28, 2006 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 More sharing options...
haibec Posted June 28, 2006 Author Share Posted June 28, 2006 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.<{POST_SNAPBACK}> Thank you . if you have exemple .please post into this forum .Thank you very much! Link to comment Share on other sites More sharing options...
justsomeguy Posted June 28, 2006 Share Posted June 28, 2006 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 More sharing options...
janzwaantje Posted July 1, 2006 Share Posted July 1, 2006 use COMPONENTShttp://www.aspemail.com/Manual.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now