Hi all. I'm trying the new version of Phalcon and I do not know how to make the sessions work.
This code produces: Call to undefined method Phalcon\Session\Manager::setAdapter(). If I change setAdapter by setHandler it produces a 500 error.
$adapter = new Phalcon\Session\Adapter\Files();
$session = new Phalcon\Session\Manager();
$session->setAdapter($adapter);
$session->start();
/**/
$session->set('uid', 1);
/**/
if ($session->has('uid')) {
echo $session->get('uid');
}