Index: typo3/sysext/cms/tslib/class.tslib_feuserauth.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_feuserauth.php (revision 9008) +++ typo3/sysext/cms/tslib/class.tslib_feuserauth.php (revision ) @@ -486,6 +486,31 @@ } /** + * Returns the session data stored for $key. + * The data will last only for this login session since it is stored in the session table. + * + * @param string $key + * @return mixed + */ + public function getSessionData($key) { + return $this->getKey('ses', $key); + } + + /** + * Saves the tokens so that they can be used by a later incarnation of this class. + * + * @param string $key + * @param mixed $data + * @return void + */ + public function setAndSaveSessionData($key, $data) { + $this->setKey('ses', $key, $data); + $this->storeSessionData(); + } + + + + /** * Registration of records/"shopping basket" in session data * This will take the input array, $recs, and merge into the current "recs" array found in the session data. * If a change in the recs storage happens (which it probably does) the function setKey() is called in order to store the array again.