source/Core/Session.php
protected function _checkUserAgent($sAgent, $sExistingAgent)
    {
        $blCheck = false;
        // processing
        $oUtils = \OxidEsales\Eshop\Core\Registry::getUtilsServer();
        $sAgent = $oUtils->processUserAgentInfo($sAgent);
        $sExistingAgent = $oUtils->processUserAgentInfo($sExistingAgent);

        if ($sAgent && $sAgent !== $sExistingAgent) {
            if ($sExistingAgent) {
                $this->_sErrorMsg = "Different browser ({$sExistingAgent}, {$sAgent}), creating new SID...<br>";
            }
            $blCheck = true;
        }

        return $blCheck;
    }
protected function _checkUserAgent($sAgent, $sExistingAgent)
    {
        $blCheck = false;
        // processing
        $oUtils = \OxidEsales\Eshop\Core\Registry::getUtilsServer();
        $sAgent = $oUtils->processUserAgentInfo($sAgent);
        $sExistingAgent = $oUtils->processUserAgentInfo($sExistingAgent);

        if ($sAgent && $sAgent !== $sExistingAgent) {
            if ($sExistingAgent) {
                $this->_sErrorMsg = "Different browser ({$sExistingAgent}, {$sAgent}), creating new SID...<br>";
            }
            $blCheck = true;
        }

        return $blCheck;
    }
protected function _checkUserAgent ( $ sAgent , $ sExistingAgent ) { $ blCheck = false ; // processing $ oUtils = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsServer ( ) ; $ sAgent = $ oUtils -> processUserAgentInfo ( $ sAgent ) ; $ sExistingAgent = $ oUtils -> processUserAgentInfo ( $ sExistingAgent ) ; if ( $ sAgent && $ sAgent !== $ sExistingAgent ) { if ( $ sExistingAgent ) { $ this -> _sErrorMsg = "Different browser ({$sExistingAgent}, {$sAgent}), creating new SID...<br>" ; } $ blCheck = true ; } return $ blCheck ; }
Checking user agent

@param string $sAgent         current user agent
@param string $sExistingAgent existing user agent

@return bool
Checking user agent