/** * Clear session kyes * @intellisense */ public function clearSessionKeys() { parent::clearSessionKeys(); if (!count($_POST) && !count($_GET)) { unset($_SESSION[$this->sessionPrefix . "_tempImportFilePath"]); unset($_SESSION[$this->sessionPrefix . "_tempImportLogFilePath"]); unset($_SESSION[$this->sessionPrefix . "_tempDataFilePath"]); } }
/** * Clear the page's and elements pages' session keys * if the page is loaded with "empty" params */ function clearSessionKeys() { parent::clearSessionKeys(); if (!count($_POST) && (!count($_GET) || count($_GET) == 1 && isset($_GET["menuItemId"]))) { $this->unsetAllPageSessionKeys(); } foreach ($this->pSet->getDashboardElements() as $elem) { if ($elem['type'] != DASHBOARD_REPORT && $elem['type'] != DASHBOARD_SEARCH) { $this->unsetAllPageSessionKeys($this->tName . "_" . $elem["table"]); } } }