RoyBaird
Posts: 115
|
| Posted: 12/11/2009, 7:39 AM |
|
I have a Home page with custom code to set some session variables in the "before show" event. When I navigate around the site and go back to the home page, the session variable UserID is no longer set.
$db = new clsDBjoomla();
CCSetSession("ssan1", CCDLookUp("username","jos_users","id=".$db->ToSQL(CCGetUserID(),ccsInteger), $db) );
CCSetSession("flname", CCDLookUp("name","jos_users","id=".$db->ToSQL(CCGetUserID(),ccsInteger), $db) );
$db->close();
Any ideas?
_________________
Roy |
 |
 |
|