CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Integrating the User Registration Example - BASIC QUESTION

Print topic Send  topic

Author Message
DaveC

Posts: 1
Posted: 05/20/2008, 12:28 PM

Hi,

I'm attempting to add front end login capability to my existing app. I'm at the point where I've got the Registration sample code integrated with my existing code and can bring up the login dialog, authenticate the user, and redirect to my start page. What I need to know is what routine do I call to get the user info (ID, name, role) from? Also, what is the preferred mechanism to get the user info to the application? Obviously I can add this info as parameters in the Redirect call to my start page, but is there a better way?

Thanks in advance.
View profile  Send private message
tsgroman


Posts: 64
Posted: 05/20/2008, 1:14 PM

.NET you can use the built in Session Variable UserID or Session("UserID"). This is easily setup through the query builder.

See this post:

http://forums.yessoftware.com/posts.php?post_id=96330

Hope this helps...
View profile  Send private message
wkempees


Posts: 1679
Posted: 05/20/2008, 3:23 PM

In global CCS terms you use:
CCGetUserID()
CCGetUserLogin()
CCGetGroupID()
See help file, search on these terms

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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