
Gena
Posts: 591
|
| Posted: 10/28/2008, 3:27 PM |
|
I mean third parameter wrong!
should be
"user_id=". CCGetSession("NewUserID","")
_________________
Gena |
 |
 |
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.
|
 |
 |
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 |
 |
 |
|


|