Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: dkurchigin on October 30, 2025, 03:50:56 AM

Title: Question about sessions in DB
Post by: dkurchigin on October 30, 2025, 03:50:56 AM
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?
Title: Re: Question about sessions in DB
Post by: SKaero on October 30, 2025, 09:58:05 AM
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.