开发者

How to control if a user logins twice in rails

Right now Iam using devise for an application and I don't want a user to login twice, if it logins for the second time his previous session wo开发者_如何转开发uld be killed. this way the user can't login with two browsers, for example he logins first with firefox and then logins with google chrome the firefox session expires.


Something similar here: Can a session be shared between browsers from the same computer in rails?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜