tarantool-php icon indicating copy to clipboard operation
tarantool-php copied to clipboard

support session handler API

Open kostja opened this issue 10 years ago • 6 comments

Support integration with expirationd and store sessions via php session handler API in expirationd space.

kostja avatar Apr 10 '15 12:04 kostja

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.

golgote avatar Jun 17 '15 19:06 golgote

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 ;)

ekho avatar Jun 17 '15 20:06 ekho

@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 avatar Jun 17 '15 20:06 bigbes

@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 avatar Jun 17 '15 20:06 ekho

@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 avatar Jun 17 '15 21:06 bigbes

@bigbes Ok, I will =))))

ekho avatar Jun 17 '15 21:06 ekho