mbennie
|
Posted: 01/19/2002, 5:08 PM |
|
How can I allow a user to bypass the login page after registering?
|
|
|
Jeremy
|
Posted: 01/19/2002, 9:45 PM |
|
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
Once again...you need to make sure and put your fields in place of the member fields here if yours are different.
cya
Jeremy
|
|
|
andrew
|
Posted: 09/11/2003, 10:33 AM |
|
This 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
|
|
|
|