Date:  04/10/2005 06:24:12 PM Msg ID:  002508
From:  Kia Thread:  002508
Subject:  How to log in the user without the login
Hi;
I'm working on a 'new user' screen where the username and password are verified and then user information screen is displayed.
Once this is done, I want to be able to log the user in automatically without directing him to the 'login' screen.  This is the code that I tried but the Auth object won't accept it.  Any idea on how I can log in a user via code?
 
FUNCTION LoginNewUser
=Auth.FormVars
secUserID   = Session.GetVar("NewAccount_UserId")
secPassword  = Session.GetVar("NewAccount_Password")
=Auth.FormAction
 
 
 
 
Thanks
 
Kia