php-mongo-session
php-mongo-session copied to clipboard
A PHP session handler with a Mongo DB backend.
For coherency, I had to place the class into a namespace (not included in this fix of course). Prior to the fix, class_exists('MongoClient') would fail, as MongoClient was not in...
https://github.com/nicktacular/php-mongo-session/blob/master/MongoSession.php#L201 You're opening a mongo connection here. I'm guessing that anyone wanting to store PHP sessions in Mongo wants to do so because their PHP code already uses Mongo, so...
@nicktacular I was curious if you've done any testing on mongodb 3.0 using the new wiredtiger storage engine? I plan to do the drop-in upgrade from 2.6 to 3.0 on...
@nicktacular do you have any objections to modifying the basic logging output to be delmiter-based -- or structured consistently in some way so it's parse-able? I'd like to import my...
So I have a simple replicaSet -- the typical/minimal 3-node (2 nodes + arbiter). I am getting fatal errors for 15-30 seconds after updates/manual failovers, I assume during the election/reelection...
I'm creating this issue as a spin-off from #9 which was concerning abandoned session locks ending up in sessions_lock. It was confirmed this is occurring when a PHP ends fatally...
@nicktacular First off, thank you for creating the MongoSession class. It really helped me out on a project. I did something a bit crazy to it, so I didn't want...
If #14 ends up a no-go, I was thinking it might be interesting to add a read-only mode which would allow applications to access locked sessions, but prevent writes. For...
The default config setting for cache is currently set to "private_no_expire" and the setting for cache_expiry is set to 10. The defaults in PHP are actually "nocache" and 180. This...