Following configuration should be in main.php under session array.
‘class’ => ‘yii\web\DbSession’,
'sessionTable' => 'session',
Can we configure these settings outside of config folder or anywhere in yii2. ?
Following configuration should be in main.php under session array.
‘class’ => ‘yii\web\DbSession’,
'sessionTable' => 'session',
Can we configure these settings outside of config folder or anywhere in yii2. ?
Yes. Why?