Why I need to start a session before I set up some options? It wouldn't be more logical to do it before I start the session? (I'm wondering, I'm sure there will be very good reasons).
$ID->setShared('session', function() {
$session = new Files();
$session->start();
$session->set('auth', array(
'id' => -1,
'nombre' => 'anonimo',
'rol' => 'Anonimo'
));
return $session;
});