CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Bypass Login After Registration - AAAAAAAAAHH

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.