src/Web/Sessions/Session.php
public function getName()
    {
        if (!isset($this->_cookieName)) {
            if (strlen($this->_cookieName) < 32 && $this->request->enableCookieValidation) {
                $key = $this->request->cookieValidationKey;
                $bytesLn = Reaction\Helpers\StringHelper::byteLength($key);
                $strLn = mb_strlen($key);
                $this->_cookieName = $this->cookieName . md5(crypt($bytesLn . ':' . $strLn, $key));
            }
        }
        return $this->_cookieName;
    }
public function getName()
    {
        if (!isset($this->_cookieName)) {
            if (strlen($this->_cookieName) < 32 && $this->request->enableCookieValidation) {
                $key = $this->request->cookieValidationKey;
                $bytesLn = Reaction\Helpers\StringHelper::byteLength($key);
                $strLn = mb_strlen($key);
                $this->_cookieName = $this->cookieName . md5(crypt($bytesLn . ':' . $strLn, $key));
            }
        }
        return $this->_cookieName;
    }
Gets the name of the current session.
This is a wrapper for [PHP session_name()](http://php.net/manual/en/function.session-name.php).
@return string the current session name