铁路、客运和 Authlogic
有谁知道如何与乘客一起使用 authlogic 吗?在 Github Binary Logic 页面上有一条注释说它不起作用,问题是当你注销时,它并没有真正注销你 - 你继续登录 - 我已经研究过这个 - 并且这似乎发生在大多数人身上。
但我本以为现在有人会想出如何解决这个问题。
有高手帮忙吗?
这在 Webfaction 上尤其是一个问题,因为 Passenger 是您提供文件服务的唯一选择。
大多数指南告诉您这是“活动记录存储”的错误,但我似乎找不到向您展示如何解决此问题的教程。
我的设置是轨 2.3.10 和乘客 2.2.15
任何帮助都会很棒。
谢谢
Has anyone figured out how to use authlogic with passenger? On the Github Binary Logic page there is a note that says it does not work, the problem is that when you log out, it does not really log you out -- you continue to be logged in -- I have researched this -- and it seems to happen to most people.
But I would have thought by now someone would have figured out how to fix this issue.
Any helpers out there?
This especially an issue on Webfaction as that Passenger is your only option for serving your files.
Most guides tell you it is the fault ofthe "active record store" but i can not seem to find a tutorial that shows you how to fix this.
my set up is rails 2.3.10 and passenger 2.2.15
Any help would be great.
thx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
authlogic 自述文件指出这是 Passenger 和 2.1.x 的问题,但这不是您使用的版本。问题是什么?
The authlogic readme states that it's an issue with Passenger and 2.1.x, but this is not the version you are using. What is the problem?
我们在生产中使用 Authlogic 和 Phusion Passenger。你提到的问题原来是 Rails 中的 cookie bug。最新的 Rails 2.3 和 3.0 版本修复了这个问题。
We use Authlogic in production with Phusion Passenger. The problem you mentioned turned out to be a cookie bug in Rails. The most recent Rails 2.3 and 3.0 releases fix this problem.