I want to add something like Logout all active Logins in to my system from administrators
I have some case when Admin changes in permission of users , I am storing permissions in SESSION ,
So I want to make log out all the users when ADMIN Press event
Something like in Google we have option that log out from other devices.
one way I can find that I can set one GLOBAL variable and every time I will check it when I fire AJAX in every 1 min after log-in
is there another way to do this which is more standard .
you should identify where the user's sessions are stored. If your web server is using files (see your php.ini) then deleting this files will make a brutal destroy of all the user's sessions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With