src/Web/SessionContext.php
public function setViewHistory($formName, $historyInfo)
    {
        $view = Openbizx::$app->getCurrentViewName();
        $view_form = $formName; //$view."_".$formname;
        if (!$historyInfo) {
            unset($this->_viewHistory[$view_form]);
        } else {
            $this->_viewHistory[$view_form] = $historyInfo;
        }
    }
public function setViewHistory($formName, $historyInfo)
    {
        $view = Openbizx::$app->getCurrentViewName();
        $view_form = $formName; //$view."_".$formname;
        if (!$historyInfo) {
            unset($this->_viewHistory[$view_form]);
        } else {
            $this->_viewHistory[$view_form] = $historyInfo;
        }
    }
Set view history data of given bizform into session file

@param string $formName - name of bizform
@param array $historyInfo - view history data represented by an associated array
@return void