/** * Write session data */ private function writeToSession($key, $data) { $this->log->dev('Write so FE session', $data); $this->frontendUser->setKey('ses', 'tx_t3extblog_' . $key, $data); $this->frontendUser->storeSessionData(); }
/** * Save leaf states in user session * * @param FrontendUserAuthentication $user * @param array $folderState */ protected function saveFolderState(FrontendUserAuthentication $user, array $folderState) { $user->setKey($user->user['uid'] ? 'user' : 'ses', 'LeafStateService', serialize($folderState)); $user->storeSessionData(); }
/** * Store all value to session * * @return \Evoweb\SfRegister\Services\Session */ public function store() { $this->frontendUser->setKey('ses', $this->sessionKey, serialize($this->values)); return $this; }
/** * Flush session cache * * @throws \TYPO3\CMS\Core\Exception * @return void */ public function flushSessionCache() { $this->frontendUser->setKey('ses', 'tx_storefinder_coordinates', array()); $this->frontendUser->storeSessionData(); }
/** * Removes the auth code from the session */ public function clearAuthCodeFromSession() { $this->tsfeUser->setKey('ses', 'formhandler_auth_code', NULL); $this->tsfeUser->storeSessionData(); }