i am beginner to code igniter. i am creating web service for android application that will have thousands of users. In admin panel i want to know which users are currently active. is it possible using sessions?
$newdata = array(
'phone' => $phone,
'pass' => $pass,
'logged_in' => TRUE
);
$this->session->set_userdata($newdata);
storing user data in session like this but don't know how to check later