[Seaside] Registration e-mail verification

Boris Popov boris at deepcovelabs.com
Sat Mar 22 02:26:07 UTC 2008


It sounds like you're thinking about generating a URL to a callback that
will activate an account, but a safer thing to do would be to disconnect
the email from your session by doing something like,

1. On account store unique activation key
2. On your root component implement

initialRequest: aRequest
 super initialRequest: aRequest.
  at: 'activate'
  ifPresent: [:acc |
       at: 'with'
       ifPresent: [:key | "activate acc with key"].

3. Then email URLs of form,


Hope this helps,


DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of David Buck
> Sent: Friday, March 21, 2008 7:17 PM
> To: Seaside - general discussion
> Subject: [Seaside] Registration e-mail verification
> I want to implement a mechanism where someone can register for an
> account on a Seaside web site by providing an e-mail address.  In
> for the registration to be completed, Seaside will send them an e-mail
> containing a link which they have to click on to return to the web
> to continue the registration process.
> Sending the e-mail isn't a problem.  How can I generate the URL in
> advance to put into the e-mail that the user can click on to complete
> the registration process?
> Thanks
> David Buck
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list