House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Newbie (CF-Newbie)

verify e-mail address

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi,
John Barrett
01/20/12 12:07 A
HI Justin,
John Barrett
02/01/12 11:10 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
John Barrett
01/20/2012 12:07 AM

Hi, I have a sign up form where I have 2 fields to verify it has the same e-mail, and a capachta on it, but I still get lots of bad e-mail address. How hard would it be to re write the application to have it so when the user signs up a verification e-mails go out, they click on a link and then they would be added to the database. I have seen this on some sites, where you have to verify your e-mail by a e-mail being sent. It seems like it would be complex to do this, as once they verified the e-mail address by clicking on the link, how to add them to the database then. Any help or ideas would be greatly appreciated thanks, Johnny

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Justin Scott
01/20/2012 12:19 AM

> I have a sign up form where I have 2 fields to verify it > has the same e-mail, and a capachta on it, but I still > get lots of bad e-mail address. First, I would recommend looking into the wonderful CFFormProtect project at RIAForge (http://cfformprotect.riaforge.org/) rather than using the CAPTCHA.  If your hosting environment can support it, you will see a pretty amazing reduction in garbage making it through your forms with less irritation on the part of your users. > How hard would it be to re write the application to have it so > when the user signs up a verification e-mails go out, they click > on a link and then they would be added to the database. It's actually fairly simple, though there are several pieces involved. The way I generally approach this is to have the initial registration collect the information, do error checking and such, and if everything is okay it will go ahead and create the database record as usual, but with an "isVerified" field set to false.  Another field would contain a randomly generated "activation code" which is sent to the user via e-mail embedded in a link or just in the e-mail content so they can come back to the website, select the activation page, and enter the code to verify their account.  Coupled with a "date created" field you can periodically purge records which have not been activated within a certain period of time.  Doing this can impact other things (such as a lost password process; you have to check to see if the account has been verified before going into the normal process and perhaps re-send their activation code instead). It's actually not terribly complicated once you get the hang of it. If you have any questions please feel free to ask here. -Justin

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
John Barrett
02/01/2012 11:10 PM

HI Justin, thanks so much for your reply. I am very sorry it has taken a while to get back to you, as I have been sick. I just download the CFFormProtect and I am going to try it on my localhost, and hopefully my host will support it as well. The registration application sounds complex right now, but I have been asked to do this, so I hope that when I run into issues i can post it here and get some help. again thanks so much for getting back to me! Johnny


<< Previous Thread Today's Threads Next Thread >>

Search cf-newbie

May 23, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference