[Typo3] Session trouble

Alexander Maringer maringer at fmi.uni-passau.de
Thu Feb 17 23:16:43 CET 2005


I want to verify the problem ...
[code]
debug(array($GLOBALS["TSFE"]->fe_user->sesData['myData']));
// 1. at the output I get all the variables

unset($GLOBALS["TSFE"]->fe_user->sesData['myData']);

// 2. I try to clear the session data
$GLOBALS["TSFE"]->fe_user->storeSessionData();

debug(array($GLOBALS["TSFE"]->fe_user->sesData['myData']));
// 3. I get no output

debug(array($GLOBALS['TSFE']->fe_user->getKey('ses','myData')));
//I get the same output as at point 1 (all is directly in a line .. no other 
code between)

Thanks

Alexander Maringer


"Alexander Maringer" <maringer at fmi.uni-passau.de> schrieb im Newsbeitrag 
news:mailman.1.1108677113.20598.typo3-english at lists.netfielders.de...
> Hi,
>
> I have very much trouble with sessions.
>
> I can save data in the session [ 
> $GLOBALS['TSFE']->fe_user->setKey('ses','myData', $this->userdata); ] and 
> can get the data back .... $GLOBALS['TSFE']->fe_user->getKey(...)
>
> But how can I delete a value of my session??
>
> Thanks a lot
>
> Alexander
> 





More information about the TYPO3-english mailing list