To enable database based sessions in concrete5.7+ you simply need to add a configuration value to /application/config/concrete.php.
The config value is "concrete.session.handler" and needs to be set to the value of "database".
An example code would be the following:
return array(
'session' => array(
'handler' => 'database'
)
);