MyBB Community Forums

Full Version: MyBB Sessions and Cookies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
$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.