Hi,
Given this code:
$sessionid = session_id();
echo "\n";
$database->setQuery("SELECT * FROM #__session WHERE session_id='$sessionid'");
$sessionvars = $database->loadObjectList;
Does anyone have any idea why this query would fail? $sessionid has a valid value but $sessionvars always has a count of 0. Query works fine from the command line, given a valid session value.
Stumped.
StuG
Query to jos_session fails
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida