>- see footer for list info -<
Paul,

The usual process for one time use URL's is to generate a unique ID, such as
a UUID in CF and put that on the URL. You then store that UUID against that
user.
When they click the verification link, that UUID is looked up, and the user
verified, the UUID is then deleted from the table so it cannot be used
again.


Regards
--
Russ Michaels
My blog: http://russ.michaels.me.uk/
FREE CFDeveloper hosting: www.cfdeveloper.co.uk
Business CF Hosting: www.cfmxhosting.co.uk
Domain Names: www.bluethunderdomains.net






-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Paul Swingewood
Sent: 16 June 2009 10:55
To: [email protected]
Subject: [CF-Dev] Is this right?

>- see footer for list info -<

Hi all,

 

A fairly simple task i guess but is this the right way to do it.

 

I have a form where bod fills in some personal details, email address and a
username.

 

Sysytem then emails the email address and send a verification link.

 

User follows link and then enters a password to use the system in the
future.

 

So,

 

What is in the link?

 

Do I include the userID - www.thesite.co.uk?id=1 (but encrypt it)
www.thesite.co.uk?...@$%$£%^^gh something like that?

 

This will tell me who the user is.

 

Should i be suing session variables for this? If so how?

 

I'm not sure of the correct process to do this?

 

Also how do I render the link useless once it has been used. Flag in the
database?

 

Any suggestions or examples?

 

Regards - Paul
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to