backend - Magento, see if back-end user is online? -
i have magento website. there admin user, thats me, , other user. how can see if other user logged in (back-end) ?
edit
thanks sandeep have this:
<?php $session = mage::getsingleton('admin/session'); $userdetails = mage::getsingleton('admin/session'); // data session $userid = $userdetails->getuser()->getuserid(); // user id $userid = $userdetails->getuser()->getemail(); // use 'admin/session' object check loggedin status if ( $session->isloggedin() ) { echo "ingelogd"; } else { echo "niet ingelogt"; } ?>
$session = mage::getsingleton('admin/session'); // use 'admin/session' object check loggedin status if ( $session->isloggedin() ) { echo "logged in"; } else { echo "not logged in"; }