Re: Authentication by logging out from all other devices in CakePHP 3

2014-09-16 Thread Jipson Thomas
Hi Mark, Thank you very much. I hope this solution should work out for me. Regards, Jipson On Tuesday, 16 September 2014 12:31:40 UTC+1, Jipson Thomas wrote: > > Hi All, > Do we have any option in cakephp 3 authentication to make the user logged > out from all other devices when he/she try to log

Re: Authentication by logging out from all other devices in CakePHP 3

2014-09-16 Thread euromark
You would need to store the session_id s together with the user_id s in a table. I do that as "online_activities" This way I can invalidate users' sessions when needed to. But you will have to build that on your own on top I am afraid. Am Dienstag, 16. September 2014 13:31:40 UTC+2 schrieb Jipso

Authentication by logging out from all other devices in CakePHP 3

2014-09-16 Thread Jipson Thomas
Hi All, Do we have any option in cakephp 3 authentication to make the user logged out from all other devices when he/she try to login using the same credentials from one new machine? For example I logged into mycake.com using jip...@mycake.com username and 123 password from my iPhone browser. N