Zend - Storing Session data in a database

2019-01-26 18:49发布

Looking for an example of storing session data in a database, using the Zend Framework.

2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-01-26 19:30

From Zend themselves, on saving session data with a custom session handler: http://devzone.zend.com/article/141

Otherwise, from within the Zend framework try the following information: http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_DbTable?showComments=false

查看更多
地球回转人心会变
3楼-- · 2019-01-26 19:50

You will want to look into hooking up the Zend_Session_SaveHandler_DbTable

Of which you can find direct examples/guidance in the framework manual

http://framework.zend.com/manual/en/zend.session.savehandler.dbtable.html

查看更多
登录 后发表回答