Zend - 在数据库中存储会话数据

时间:2022-09-03 16:57:35

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

查找使用Zend Framework在数据库中存储会话数据的示例。

2 个解决方案

#1


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

来自Zend本身,使用自定义会话处理程序保存会话数据: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

否则,从Zend框架内部尝试以下信息:http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_DbTable?showComments = false

#2


You will want to look into hooking up the Zend_Session_SaveHandler_DbTable

您将需要查看连接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

#1


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

来自Zend本身,使用自定义会话处理程序保存会话数据: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

否则,从Zend框架内部尝试以下信息:http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_DbTable?showComments = false

#2


You will want to look into hooking up the Zend_Session_SaveHandler_DbTable

您将需要查看连接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