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 -> PHP

 CCDLookUp retrieve always the same (old) results, not current

Print topic Send  topic

Author Message
Gena

Posts: 591
Posted: 10/28/2008, 3:27 PM

I mean third parameter wrong!

should be
"user_id=". CCGetSession("NewUserID","")
_________________
Gena
View profile  Send private message
rado

Posts: 221
Posted: 10/28/2008, 4:30 PM

I changed it to user_id and now I'm getting user_id of wrong (random) user - not the one that was loggeg in.
View profile  Send private message
Gena

Posts: 591
Posted: 10/28/2008, 4:39 PM

put

echo CCGetSession("NewUserID","") ;

before you CCLookup code to see...

and try to use CCGetUserID(). Really, if you autologin your user you don;t need to use session etc - it already in CCLoginUser() function...

_________________
Gena
View profile  Send private message
First Prev Page 2 of 2 


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.

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.