Lars Strojny wrote:
Hi,
Am Freitag, den 06.10.2006, 12:09 -0500 schrieb Ralph Schindler:
Darek wrote:
AFAIK there's only proposal of Zend_Session
There is code, in fact I am just waiting for the go ahead and feedback
notes from Gavin and zend to make changes and get it into the incubator.
My current codebase that supports the methods and conventions outlined
in the proposal can be found here:
I wonder how to provide home-grown backend implementations. An often
needed usecase is - as I think - to store sessions in a MySQL-database.
Maybe it is worth thinking about an adapter-solution similiar to
Zend_Cache. Memcache and APC are also sensible backends for Session
handling.
Greets, Lars Strojny
On my todo list is a sample backend tutorial for creating a pdo/mysql
session table. Essentially, all you need to do is implement the
Zend_Session_SaveHandlerInterface's methods, and register it with
Zend_Session via Zend_Session::setSaveHandler( ... )
-ralph