/t5/coldfusion-discussions/validating-email-in-cf/td-p/939684Mar 18, 2008
Mar 18, 2008
Copy link to clipboard
Copied
Hi,
I am creating an application that needs an email verification
when user creates an account into the app, I need to send the link
with the user_id as attached parameter so when they click on the
link they will be validated into the database. The problem is that
the link is sending like this
http://www.app.com?user_id=12 Is that correct? I've seen that the links like this use some
kind of encryption. I don't know how to create it.
What you could do is store a UUID in a column in your
database then use that as part of the url for authenticatiion.
If you're trying to prevent spammers from authorizing a bunch
of emails, you'll need to step up the process a bit and include
something like a CAPTCHA.