i try to change the session timeout via my config:
'session' => [
'timeout' => 60,
unfortunately it doesn’t work. as i googled, i found the reply, that it’s due to lazy loading. and that the it should be loaded in the yii bootstrap. the problem is, i don’t understand, what is ment with yii bootstrap.
is it the index.php ?
here is the source, with the same problem.
else maybe a solution would be to create a new class extending yii\web\Session with my custom timeout as default value and then loading it via config, like :