CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to say "Hello user" on logged in pages

Print topic Send  topic

Author Message
Rosario


Posts: 54
Posted: 06/10/2005, 1:36 PM

How to say "Hello user" on logged in pages I was trying to do it with a lable that printed the session id but no luck.

I really have no clue, do i have to do somthing special with setting up the session id's?
View profile  Send private message
Nicole

Posts: 586
Posted: 06/13/2005, 1:39 AM

Rosario,
If you can access restricted pages after login it means that session is set properly. So you can use session UserID variable in your custom code. The idea is to create Before Show event for a Label where use CCDLookUp() function to retrieve a name of logged in user, then assign it to a Label. CCS Help contains several examples of using CCDLookUp().

_________________
Regards,
Nicole
View profile  Send private message
Rosario


Posts: 54
Posted: 06/13/2005, 9:12 AM

It worked !!
Before Show event for a Label code pretty simple!

'Custom Code @16-73254650
' -------------------------
TASKSearch.Label1.Value =CCGetUserID()
' -------------------------
'End Custom Code


Thanks a bunch!
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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