phalcon/cphalcon — pull request #2232 by dreamsxin (2014-03-25 06:49:55+00:00)
Title: Add \Phalcon\Session\Adapter::setId

```php
$di->set('session', function () {
$session = new \Phalcon\Session\Adapter\Files();
if (isset($_POST['PHPSESSION'])) {
$session->setId($_POST['PHPSESSION']);
}
$session->start();

return $session;
});

```