How to disallow multiple parallel user sessions per login in ZF2?

感情迁移 提交于 2020-12-06 11:32:47

问题


I'm currently facing the situation, that the ZendFramework2 ZFCuser-Module does not have any options to prevent a user from logging in from two devices at the same time.

We recently had a case, that two people were "account-sharing" and accidentally deleted each others data. Since I did not build the application to account for this kind of resource conflicts, I need to prevent this behaviour now.

Is there any module or easy possibility out there to prevent account-sharing in Zend Framework 2 with ZFCUser?

The docs and SO and all sorts of ZF2 blogs somehow appear to never have come across this type of problem...

Thanks in advance!

来源:https://stackoverflow.com/questions/30456921/how-to-disallow-multiple-parallel-user-sessions-per-login-in-zf2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!