Roundcube Community Forum

 

Question about sessions in DB

Started by dkurchigin, October 30, 2025, 03:50:56 AM

Previous topic - Next topic

dkurchigin

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?

SKaero

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.