I'm using Yii2's DBSession class to store web application sessions into a database table, called session
.
This table by default only has 3 columns - id
, expire
and data
.
I'd like to store additional information into this table, like the user_id
of a logged in user.
Edit: So there's a parent class called yii\web\MultiFieldSession but no examples about how it's used. I'll see what I can discover...