FrontendUser::getSessionId() 

\nn\t3::FrontendUser()->getSessionId(); 

Get session ID of the current frontend user

$sessionId = \nn\t3::FrontendUser()->getSessionId();
Copied!

| @return string

Source Code 

public function getSessionId()
{
	if ($session = $this->getSession()) {
		if ($sessionId = $session->getIdentifier()) {
			return $sessionId;
		}
	}
	return $_COOKIE[$this->getCookieName()] ?? null;
}
Copied!