开发者

authlogic - do I still need Rails sessions?

I'm a newbie to Rails and am starting a new project that uses AuthLogic. I'm just a l开发者_如何学Pythonittle confused about whether AuthLogic provides everything I need to store session state, or whether I still have to include the Rails mechanism (rake db:sessions:create).

Thanks!

Tim


Yes you need sessions but you don't necessarily need db:sessions:create for that as it's only needed for the db session store. You can use the default cookie store and all the data will be stored encrypted in the cookie.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜