From ece5f0b8ad593a2eae17f51a61873f2b2dd2baea Mon Sep 17 00:00:00 2001 From: Paul Klimov Date: Tue, 14 Jan 2014 12:00:04 +0200 Subject: [PATCH] Doc comments for MongoDB Session updated. --- extensions/mongodb/Session.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/mongodb/Session.php b/extensions/mongodb/Session.php index bd06a04..79b2624 100644 --- a/extensions/mongodb/Session.php +++ b/extensions/mongodb/Session.php @@ -43,6 +43,8 @@ class Session extends \yii\web\Session public $db = 'mongodb'; /** * @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';