session timeout has nothing to do with the MySQLi extension. that is something you set in the php.ini file.
see this thread at stack overflow for more details:
http://stackoverflow.com/questions/520237/how-do-i-expire-a-php-session-after-30-minutes
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.