mongodb\Session $sessionCollection

$sessionCollection public property

The name of the MongoDB collection that stores the session data. Please refer to yii\mongodb\Connection::getCollection() on how to specify this parameter. This collection is better to be pre-created with fields 'id' and 'expire' indexed.

public string|array $sessionCollection = 'session'
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.