title: How to LOG OUT all active logged in users in php from admin side
body: <p>I want to add something like Logout all active Logins in to my system from administrators </p>
  
  <p>I have some case when Admin changes in permission of users , I am storing permissions in SESSION , </p>
  
  <p>So I want to make log out all the users when ADMIN Press event </p>
  
  <p>Something like in Google we have option that log out from other devices.</p>
  
  <p>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 </p>
  
  <p>is there another way to do this which is more standard .</p>