Commit ece5f0b8 by Paul Klimov

Doc comments for MongoDB Session updated.

parent ff18cff8
...@@ -43,6 +43,8 @@ class Session extends \yii\web\Session ...@@ -43,6 +43,8 @@ class Session extends \yii\web\Session
public $db = 'mongodb'; public $db = 'mongodb';
/** /**
* @var string|array the name of the MongoDB collection that stores the session data. * @var string|array the name of the MongoDB collection that stores the session data.
* Please refer to [[Connection::getCollection()]] on how to specify this parameter.
* This collection is better to be pre-created with fields 'id' and 'expire' indexed.
*/ */
public $sessionCollection = 'session'; public $sessionCollection = 'session';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment