This topic created in 3355 days ago, the information mentioned may be changed or developed.
改造公司一个现有的项目,用了 CodeIgniter 框架,现在的需求是限制用户在同一时间只能有一台设备在线
sessionid 存储在 redis 里面
客户端 cookies 里亦存储了 sessionid
2 replies • 2017-02-23 21:22:34 +08:00
 |
|
1
1Satoshi Feb 23, 2017
多存一个 token ,每次登录更新 token 的值。
|
 |
|
2
lslqtz Feb 23, 2017 via iPhone
用 ua
|