Does anyone has any idea how to show all the active logged in users of the session in php? I've tried
<?php echo '<pre>' . print_r($_SESSION, TRUE) . '</pre>'; ?>
but it only shows current user. How to show all the logged in users at once, just like the facebook shows?`