source/Core/UtilsServer.php
protected function _saveSessionCookie($sName, $sValue, $iExpire, $sPath, $sDomain)
    {
        if ($this->_mustSaveToSession()) {
            $aCookieData = ['value' => $sValue, 'expire' => $iExpire, 'path' => $sPath, 'domain' => $sDomain];

            $aSessionCookies = ( array ) \OxidEsales\Eshop\Core\Registry::getSession()->getVariable($this->_sSessionCookiesName);
            $aSessionCookies[$this->_getSessionCookieKey(false)][$sName] = $aCookieData;

            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable($this->_sSessionCookiesName, $aSessionCookies);
        }
    }
protected function _saveSessionCookie($sName, $sValue, $iExpire, $sPath, $sDomain)
    {
        if ($this->_mustSaveToSession()) {
            $aCookieData = ['value' => $sValue, 'expire' => $iExpire, 'path' => $sPath, 'domain' => $sDomain];

            $aSessionCookies = ( array ) \OxidEsales\Eshop\Core\Registry::getSession()->getVariable($this->_sSessionCookiesName);
            $aSessionCookies[$this->_getSessionCookieKey(false)][$sName] = $aCookieData;

            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable($this->_sSessionCookiesName, $aSessionCookies);
        }
    }
protected function _saveSessionCookie ( $ sName , $ sValue , $ iExpire , $ sPath , $ sDomain ) { if ( $ this -> _mustSaveToSession ( ) ) { $ aCookieData = [ 'value' => $ sValue , 'expire' => $ iExpire , 'path' => $ sPath , 'domain' => $ sDomain ] ; $ aSessionCookies = ( array ) \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( $ this -> _sSessionCookiesName ) ; $ aSessionCookies [ $ this -> _getSessionCookieKey ( false ) ] [ $ sName ] = $ aCookieData ; \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> setVariable ( $ this -> _sSessionCookiesName , $ aSessionCookies ) ; } }
Copies cookie info to session

@param string $sName   cookie name
@param string $sValue  cookie value
@param int    $iExpire expiration time
@param string $sPath   cookie path
@param string $sDomain cookie domain
Copies cookie info to session