public function write($id, $data) { $lifeTime = (int) @$this->_config['lifetime']; $this->getDriver()->set('SESSION_' . $id, $data); if ($lifeTime) { $this->_driver->expire('SESSION_' . $id, $lifeTime); } }
public function close() { $this->_driver->close(); }