email registration process with link to current session (actionUrlForContinuation: -> WAContinuation DNU setParent:)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

email registration process with link to current session (actionUrlForContinuation: -> WAContinuation DNU setParent:)

Sabine Manaa
Hi,

I want to implement the registration process for my web app, similar to the description here:
http://forum.world.st/Registration-e-mail-verification-td97183.html#a97185

("a mechanism where someone can register for an account on a Seaside web site by providing an e-mail address.  In order 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 site to continue the registration process"):

In that topic the following code is shown:
 
        Continuation currentDo: [ :cc | self session actionUrlForContinuation: cc ].
       
My problem is, that within actionUrlForContinuation:

Continuation/WAContinuation does not understand setParent:

I assume the code there is old and in Pharo4 things changed a little bit.

Can anyone send a code snippet to get a link to the current session?

Regards
Sabine

(ugh sorry for posting this in the seaside development list...)