/**
  * Stores session data for the front end user
  *
  * @return void
  */
 public function storeSessionData()
 {
     $this->fe_user->storeSessionData();
 }
示例#2
0
 /**
  * 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();
 }
示例#3
0
 /**
  * Flush session cache
  *
  * @throws \TYPO3\CMS\Core\Exception
  * @return void
  */
 public function flushSessionCache()
 {
     $this->frontendUser->setKey('ses', 'tx_storefinder_coordinates', array());
     $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();
 }
 /**
  * Removes the auth code from the session
  */
 public function clearAuthCodeFromSession()
 {
     $this->tsfeUser->setKey('ses', 'formhandler_auth_code', NULL);
     $this->tsfeUser->storeSessionData();
 }