Page 1 of 1

Confirm e-mail exists on user registration

Posted: Mon Dec 29, 2008 4:47 pm
by grgwhl
Once a user has registered on my site, I want to send them an e-mail to validate their e-mail address exists. What techniques are normally used to achieve this? Please let me know any suggestions.

Thanks

Re: Confirm e-mail exists on user registration

Posted: Mon Dec 29, 2008 5:35 pm
by jaoudestudios
As soon as they register fire them an email with an activation link and record their details in the database and have a column status that is 'pending'. When they click on the activation link change their status to 'active'

Re: Confirm e-mail exists on user registration

Posted: Mon Dec 29, 2008 9:31 pm
by omniuni
That's how I did it as well. I used a randomly generated ID number. If you want to be secure, I'd use a random ID, along with their user login.

Re: Confirm e-mail exists on user registration

Posted: Tue Dec 30, 2008 4:45 am
by jaoudestudios
If you want to be extra secure, I encrypted their user id and then decrypted it after the user clicks the link.