2012-07-16, 08:56 PM
What sessions and cookies are created after login to let MyBB recognize a user is properly logged in?
I can understand that MyBB uses variables such as:
But I really don't understand the -> operator. I basically have a independent script which can login a user and I don't want to use global.php as it redirects me to the login screen.
So basically after logging in I will do the necessary database checks and hopefully create sessions and cookies without using MyBB files, so that MyBB can recognize a user is logged in. Is this possible? If so how can I do it.
I can understand that MyBB uses variables such as:
$session->sid
But I really don't understand the -> operator. I basically have a independent script which can login a user and I don't want to use global.php as it redirects me to the login screen.
So basically after logging in I will do the necessary database checks and hopefully create sessions and cookies without using MyBB files, so that MyBB can recognize a user is logged in. Is this possible? If so how can I do it.