我很困惑与色器件宝石配置设置:设计记住和会话
# The time the user will be remembered without asking for credentials again.
config.remember_for = 2.weeks
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again.
config.timeout_in = 10.minutes
我想有一个用户选择“记住我”复选框(即,让我登录),但默认会话超时是10分钟。 10分钟后,它要求我再次登录,即使我点击了“记住我”。如果这是真的,那么remember_for是没有意义的。很明显,我在这里错过了一些东西。
我不认为你应该在同一时间使用这两种配置。 – Rafal 2011-02-17 21:28:35