Hi, I can't understand how sessions are organized in the database:
1) Where are the authorization sessions stored? Is it in the "session" table?
2) What data is stored in the "vars" column?
3) How can I understand how a session relates to a "users" table?
The "session" table holds the PHP session information. The "vars" column is a base64 serialized object with the session values. Inside that object you would have the "user_id" and "username" to tie the session to the "users" table.