Zend 框架和 PHPBB 集成
我想做的任务是将 PHPBB 与我们现有的基于 Zend Framework 的 Web 门户集成。目前,一旦用户注册,注册过程将在框架和 PHPBB 上自动创建帐户。这个功能已经可以使用了。下一个任务是使用户登录和注销过程在两个部分上同时进行。这意味着我必须从 PHPBB 内部访问 Zend 的会话。一旦我完成了这件事,其他一切都会水落石出。现在我完全陷入困境,因为 $_SESSION 变量无法访问。
有人能指出我如何实现这一目标吗?非常感谢大家的先进。
The task I am trying to do is to integrate PHPBB with our existing Zend Framework-based web portal. Right now, the registration works by auto-creating accounts both on the framework and PHPBB once a user registers. This feature already works. The next task is to make the user login and logout process simultaneous on both parts. This would mean that I have to have access to Zend's session from inside PHPBB. Once I get this done, everything else will come to light. Right now I'm totally stucked coz the $_SESSION variable is not accessible.
Can anybody point me how to accomplish this? A huge thanks to everyone in advanced.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于这是不可能的,因此少数有效的解决方案之一是将会话的值显式保存到表中。当然,其他解决方案也是可能的。
Since this is quite impossible, one of the few solutions that work is to explicitly save the values of the session to a table. Other solutions of course is possible.