title: Codeigniter 3 Show All Online User
body: <p>I am using database level session store method.</p>
  
  <pre><code>$config['sess_driver'] = 'database';
  $config['sess_save_path'] = 'ci_sessions';//its your table name name
  </code></pre>
  
  <p>So when user login data inserted into ci_sessions successfully.</p>
  
  <pre><code>__ci_last_regenerate|i:1435420891;identity|s:13:"john@doe.com ";username|s:13:"johndoe";email|s:13:"john@doe.com ";user_id|s:1:"5";old_last_login|s:10:"1435412865";
  </code></pre>
  
  <p>Like this, this table may contains multiple records. I want to show all the online user. This data column has blob type. How can I fetch all the username? </p>