Open kostja opened 9 years ago
That would be a nice addition. Pecl redis extension has this feature. Also, using msgpack format to store session data, it would make sharing Php sessions with other tools (like lua and openresty) easier.
I wrote experimental SessionHandler on pure php. It required to init db in tarantool. I wrote simple lua script for it
You can see usage example.
@bigbes you can steal my scripts ;)
@golgote thank you for your interesting in this task and this driver:) i'll write it later, buf for now it seems to be a great idea to use @ekho pure php realization. @ekho thank you for your php script with session handling, i suppose that must be interesting for many users. I suppose that you don't have problems with this driver now?)
@bigbes I have no problems. But my brother said that he have. I will ask him about details.
If my SessionHandler will be interest anyone I will publish it to packagist
@ekho If you're interested in my opinion - it's great idea to crate github repo + packagist. I'll post links with descriptions in our README.
@bigbes Ok, I will =))))
Support integration with expirationd and store sessions via php session handler API in expirationd space.