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 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 [email protected] <javascript:> username 
> and 123 password from my iPhone browser.
> Now I am trying to login to the mycake.com using [email protected] 
> <javascript:> username and 123 password from my windows. Now the system 
> should let me to log in on windows but it should log out me from iPhone 
> automatically. Is there any predefined method in our component for 
> achieving this?
>
> Regards
> Jipson
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to