[Seaside] How to implement the classical email confirmation with
seaside
Lukas Renggli
renggli at gmail.com
Fri Apr 27 21:10:40 UTC 2007
> I don't quite understand something in your posted code:
>
> On 27/04/07, Lukas Renggli <renggli at gmail.com> wrote:
> > On seasidehosting.st we use something like:
> >
> > nextPage
> > Continuation currentDo: [ :cc |
> > self
> > mailUrl: (self session actionUrlForContinuation: cc)
> > for: self account.
> > ^ self inform: 'Check your e-mail.' ].
> > self account activate.
> > self inform: 'Account activated'
>
> After informing 'Check your e-mail', won't control flow continue down
> through 'self account activate', and so on? I.e. don't you need to
> exit the function after doing the 'self inform', or am I
> misunderstanding something?
There is a return right after sending out the mail and the 'self inform' ;-)
The only way to get to 'self account activate' and the next inform is
by clicking on the (secret) URL that is hopefully in your mailbox.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list