Browse Source

Doc comments for MongoDB Session updated.

tags/2.0.0-beta
Paul Klimov 11 years ago
parent
commit
ece5f0b8ad
  1. 2
      extensions/mongodb/Session.php

2
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';

Loading…
Cancel
Save