首页 > TAG信息列表 > zend-session

php – UNSET不适用于Zend Session

我正在使用Zend Session,但我遇到了问题.如果我实例化一个Zend_Session_Namespace(‘a’)并取消设置它,我继续获取存储: $storage = new Zend_Session_Namespace('a'); unset($storage); $storage = new Zend_Session_Namespace('a'); echo $storage->id; 并获取我之前存储的数据.

php – Zend_Session:必须在将任何输出发送到浏览器之前启动会话

我之前遇到过这个问题,但我不记得如何解决它.我创建了一个简单的骨头(不能得到任何更简单的)控制器,我只是想回应一些东西到浏览器,我收到这条消息: Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been

php – 使用Zend_Auth和Zend_Session管理用户

我想Zend_Auth和Zend_Session保存用户会话和登录信息 什么是实现以下项目的简单和最佳方式: 1-Disallow multiple concurrent logins for the specific user 2-List all of all user currently logged in 3-Admin could logout of specific user or destroy specific session

在PHPUnit测试中隔离Zend_Session

我正在测试我网站的身份验证功能. Zend_Auth用作授权引擎.但是auth状态仍然在测试之间,我需要在每个tearDown中写入“logout”. 现在一切都很好.但问题是如下.至于我知道Zend_Auth使用Zend_Session来存储auth数据.因此,会话对于所有测试都很常见.我担心将来它会引起问题. 你能告诉

php – Zend_Session_SaveHandler_DbTable是否每次刷新都擦除会话?

我基本上遇到了与this question中的海报相同的问题.我的数据库已正确初始化.我已经尝试在application.ini和Bootstrap中初始化数据库和会话SaveHandler.无论我怎么做,结果都一样. 这是application.ini初始化的样子: resources.db.adapter = "pdo_mysql" resources.db.params.host =