L
L
LittleFatNinja2016-09-22 16:58:51
Yii
LittleFatNinja, 2016-09-22 16:58:51

How to store sessions in radish in yii2?

I read the manuals, added to the config
what to do next - I don’t know

'session' => [
        'class' => 'yii\redis\Session',
      ],
      'redis' => [
        'class' => 'yii\redis\Connection',
        'hostname' => 'redis',
        'port' => 6379,
        'database' => 0,
      ],

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid, 2016-10-23
@primipilus

The same as with a session on files
, this is the same framework that provides an interface for working with sessions. And the radish is indicated only as a storage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question