function sessionId() { if (!$this->cookie_access->has('session_id')) { $this->regenerateId(); } return $this->cookie_access->get('session_id'); }