How can I make this kind of redirect in Seaside?
Mariano Martinez Peck <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CAA+-=mVF9WjrQMp-ZbGG8ju_6uX7HDp1tv2e=uLFqGOS9zqZew@mail.gmail.com> |
Hi guys,
Ley's say I have a root component registered in /registration which takes
care of user registration. Inside a callback of a button ('Register') I
want to redirect to /reps (my real app prefix) which is associated to a
different root task which renders the welcome/login window from which you
enter to the app.
What I want is to "auto-login" after register. So I need to make a redirect
from /registration to /reps but auto-getting a session for that root task
etc. I guess the way to do this is to simulate getting a session and make
the redirect to /reps_s=...
Any ideas?
Thanks in advance,
--
Mariano
http://marianopeck.wordpress.com
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside