title: CodeIgniter: Store last activity into database
body: <p>I have created two tables in database, one with users and the other with sessions. I thought that there wouldn't be any problem with storing last activity into sessions, but then I found out that sessions are deleting and I somehow can't store last activity. Because I'd like to have last activity stored somewhere I need a solution how can I save it into users table on about five minutes - same as CodeIgniter change it's session data.</p>
  
  <p>So, how to do that?</p>