MongoSession
MongoSession copied to clipboard
A PHP session handler wrapped around MongoDB.
With this you can use the created conecction into your script... $db === $session->_mongo(); $collection = $db->MyCollection; you can also change the database with _connection but i dont know if...
I want to keep using this class but i dont want open two db sessions (with the password in two different files)... I want to use my own $db conection...
I had some problem witch you script eq 30 second freeze - Why every 5 millisecond connect to mongodb and check for lock So i use wincache can be changed...