private function handleSessionConfig()
	{
		$cookiePath = __BASE;

		if ($this->component !== false && !$this->component->usesRootCookiePath()) {
			$cookiePath .= $this->component->getPath();
		}

		session_set_cookie_params(0, $cookiePath);

		if ($this->settings->getSetting("sessionsavepath") !== false) {
			session_save_path(__BASE_ROOT . $this->settings->getSetting("sessionsavepath"));
		}
	}