Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Registration + Email Validation

Status
Not open for further replies.

maverik59

Programmer
Oct 30, 2002
67
0
0
GB
Hi, I have a form used to register members with the appropriate server side and client side validation so users can register.

I would like to validate there email. What is the best way of doing this? How do i send an email to the user with a unique registration code so that there account becomes active. I'm investigating the use of CDCONTS but can't find much on the generation of a unique id based on their email.

Any Help much appreciated.
Cheers

 
As long as you record the unique id you give to a user it can be truly anything. One method I have seen in the past ( I may have vene instigated it, don't remember) was to use a portion of the date and the user id, then convert it to another base. This provides you with a suitable unique id that is also not obviously fakeable, with the bonus that you don't have to record the id in the database. Then all you have to do is mail it out and provide a link back to some sort of activation page.

[sub]01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111[/sub]
The never-completed website:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top