This is a little component I created a few years ago to do things like this in a general way. http://bakery.cakephp.org/articles/view/ticket-component-resetting-user-passwords
You can use it as is or change it to suit your needs. On Oct 8, 4:40 am, Joel Perras <[EMAIL PROTECTED]> wrote: > Store a timestamp with the token that you send to have your user > validate their email address. If the user validates their email > address after the expiry indicated by the timestamp... well do > whatever you want with that, and delete the associated token from the > database. Routinely remove expired tokens from database through some > functionality, most likely a cron job or a manual task that an > administrator can run once in a while. > > -J. > > On Oct 7, 9:04 pm, phpcurious <[EMAIL PROTECTED]> wrote: > > > okay, I already did the user registration, but now, I want the user to > > validate the email address the user is registered with. The user will > > be sent an email for the validation link. now my concern here is that > > link to my cakephp web app will be accessible for a limited time only. > > because of that, the registered user pending email validation has to > > resend that email validation link. I have some ideas, but I just want > > to know from the community what is best to do this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
