Introduction - If you have any usage issues, please Google them yourself
codeigniter Library: Online Users
Installation
Download the class (File:OnlineUsers0.2.zip) and uncompress it to your APPLICATION/LIBRARIES directory
Change line#16 with your custom database file (requires read/write permissions)
Change line#26 and set the number of seconds for the user not being considered online anymore. (timeout)