CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 How can I add another field to login.cpp

Print topic Send  topic

Author Message
Allen Patrick
Posted: 06/13/2002, 5:02 AM

I need to add another field to the login page. I would like the user to
pick an organization from a dropdown list that they are going to try and log
into. Then their logon ID and finally their password. I also need this
field to be included in the sql statement that that varifies them into the
system. I would also need to keep this org number globally to use in future sql statement throughout their session. Is this possible? If so how would I do it.
Thanks
Nicole
Posted: 06/14/2002, 5:59 AM

Allen,
I assume that you work with CC Studio.
The approach is following:
- add new table row and add new textbox field to it from Toolbox window/Forms tab.
- you should modify user login and logout code to create and clear custom session variable when user loges in/out. Open common file and find CCLOginUser and CCLogoutUser functions. Look at the already existing code and add similar custom lines to lookup value from the table and create session var (for login) and one line to free session var for logout action.

   


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.