I do something like this :
1. Create a confirmation page that takes a confirmation code as a page parameter 2. Mount a page to a url that looks like http://domain.com/confirmation?code=somesupersecretcode 3. When a user registers, i generate the code and put it somewhere in the database 4. I then send him the link as in (2) above but with user specific code 5. When the user tries to login, i extract the code and check if its valid. Am sure there could be other more clever techniques.... Will be watching this thread. Josh. On Thu, Jul 19, 2012 at 9:45 PM, Pierre Goupil <[email protected]>wrote: > Good evening, > > I'm currently trying to send a validation e-mail when a user creates an > account. I'd link to provide a link in order to confirm the subscription. > > Is there any recommended way to do that? In particular, I don't know how to > write the href of the Link in my e-mail. > > Any help will be much appreciated. > > Regards, > > Pierre Goupil > > -- > Le bonheur n'est pas une destination, mais une façon de voyager. > > Papa d'une petite Lou-Ann depuis le 30 juin. >
