[eluser]Edemilson Lima[/eluser]
I liked very much your implementation to save session vars in the database. In fact, it was my first idea too. But isn't the PHP native session engine made in compiled C code faster than any implementation made in PHP code?
My main concern is: how much these implementations using cookies or databases are better to save server resources? How does PHP native session behave when we have thousands of simultaneous users?
I think you could made it more flexible using $this->CI->config->item('sess_table_name') to get the name of the session database from the config file.