I need help to find which class/methods are responsible for loading user sessions from database on application start.
I am writting a script to login user from another application, by using cookies.
So far I have external script that creates a new cookie with session_id, and a new record in ojs database. But when I visit ojs homepage, session is loaded, but user_id and data are set to null in db. If then I enter user_id manually in db, everything works fine.
@asmecher, can you maybe help?