saseow
Posts: 744
|
| Posted: 10/14/2008, 9:33 AM |
|
I have a sign-up form where the user enters his/her details including the login name and password. Is it possible to automatically log the user in after the sign-in page has been submitted?
|
 |
 |
Zye
Posts: 56
|
| Posted: 10/14/2008, 10:38 AM |
|
Hi sasecow
Try something like this in form AfterInsert event.
$login = $registration->DataSource->user_login->Value;
$password = $registration->DataSource->password->Value;
CCLoginUser($login, $password);
Hope this helps.
Zye ...
|
 |
 |
saseow
Posts: 744
|
| Posted: 10/14/2008, 1:17 PM |
|
Thanks so much zye. Work like a dream!
|
 |
 |
|