User Login Woes
Ok, I'm trying to integrate my site to use the Vanilla login system, I've got this on my index.php page:
include('../forum/appg/settings.php');
include_once("../forum/appg/init_people.php");
if ($Context->Session->UserID > 0) {
echo 'Logged in';
}
else {
echo 'Not Logged In';
}
I can print_r($Context->Session) just find, so the includes are working and the object is being built. However I never see 'Logged In' Even though I'm logged in and can go directly to the forum...
Is there something else I need to include or a function I need to run? Totally Lost here...
0
This discussion has been closed.
Comments