View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
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