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?
|
 |
 |
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 |
 |
 |
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!
|
 |
 |
|