init() public method Initializes the Session component
readSession() public method Session read handler.
destroySession() public method Session destroy handler
$db public property The MongoDB connection object or the application
writeSession() public method Session write handler.
$sessionCollection public property The name of the MongoDB collection
regenerateID() public method Updates the current session
gcSession() public method Session GC (garbage collection)