I would like to set the session in codeigniter version 3 not to expire on browser close. session should be retain for ever. Session should be destoryed when the user click the logout button. In previous version codeigniter used variable called "$config['sess_expire_on_close'] = FALSE;" but now in codeigniter version 3 we dont have that. how to set in config or create custom core controller to extend the session.
$config['sess_driver'] = 'database';
$config['sess_use_database'] = TRUE;
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 60*60*24*180;
$config['sess_save_path'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 0;
$config['sess_regenerate_destroy'] = FALSE;
$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;