$secondsession = \Session::factory( array ( 'driver' => 'db', 'db' => array ( 'cookie_name' => 'secondsessionid', 'table' => 'secondtable' ), 'expiration_time' => 86400, ) );It will be merged with the configuration in the config/session.php file, so you only have to specify the values that are different from the default. And you can override any config value.
It looks like you're new here. If you want to get involved, click one of these buttons!