andrew
|
Posted: 09/11/2003, 10:36 AM |
|
This (solution below) does not work for me. fldUser_Name is undefined. I read the documentation, I read several articles on this board that say this should work. When I switch the flrUser_Name for the actual control (admins.User_Name.Value) then it says the ToSQL is an undefined variable...PLEASE HELP!!!!! AAAACCCKKKKKKKKKKKK deadlines
Jeremy
Date Created 1/19/2002 9:45:55 PM
Message Put this code in your "after insert" event of your registration page.
Session("UserID") = CStr(DLookUp("members", "member_id", "member_login =" & ToSQL(fldmember_login, "Text")))
Session("UserRights") = 1
|
|
|
andrew
|
Posted: 09/11/2003, 1:00 PM |
|
Nevermind...here is what worked
Session("UserID") = CStr(CCDLookUp("User_Name","admins","UserName=" & admins.User_Name.Value,DBConnection1))
Session("GroupID") = 1
|
|
|
|