source/Core/Session.php
public function regenerateSessionId()
    {
        // starting session only if it was not started yet
        if (self::$_blIsNewSession) {
            $this->_sessionStart();

            // (re)setting actual user agent when initiating new session
            $this->setVariable("sessionagent", \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getServerVar('HTTP_USER_AGENT'));
        }

        $this->_setSessionId($this->_getNewSessionId(false));
        $this->_initNewSessionChallenge();
    }
public function regenerateSessionId()
    {
        // starting session only if it was not started yet
        if (self::$_blIsNewSession) {
            $this->_sessionStart();

            // (re)setting actual user agent when initiating new session
            $this->setVariable("sessionagent", \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getServerVar('HTTP_USER_AGENT'));
        }

        $this->_setSessionId($this->_getNewSessionId(false));
        $this->_initNewSessionChallenge();
    }
public function regenerateSessionId ( ) { // starting session only if it was not started yet if ( self :: $ _blIsNewSession ) { $ this -> _sessionStart ( ) ; // (re)setting actual user agent when initiating new session $ this -> setVariable ( "sessionagent" , \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsServer ( ) -> getServerVar ( 'HTTP_USER_AGENT' ) ) ; } $ this -> _setSessionId ( $ this -> _getNewSessionId ( false ) ) ; $ this -> _initNewSessionChallenge ( ) ; }
Regenerates session id
Regenerates session id