This functionality is not directly supported by the Auth object, but we will look into supporting it in the future.
The FoxWeb Forum uses a hack to achieve this result, but there is no guarantee that this code will work with future versions. The following HTML is returned to the browser by the script that stores the user's registration information:
Sent by Kia on 04/10/2005 06:24:12 PM:
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?
secUserID = Session.GetVar("NewAccount_UserId")
secPassword = Session.GetVar("NewAccount_Password")