[TYPO3-dev] Session troubles
    Marcus Krause 
    marcus#exp2008 at t3sec.info
       
    Mon Mar 23 13:19:07 CET 2009
    
    
  
Sebastiaan van Parijs schrieb:
> Hey guys,
> 
> Im using the usuall Session codes to store an retreave the Session Data 
> Array, with:
> 
> $sessionData = $GLOBALS['TSFE']->fe_user->getKey( "ses","Data" );
> 
> $GLOBALS['TSFE']->fe_user->setKey( "ses","Data", $sessionData );
> 
> $sessionData = $GLOBALS['TSFE']->fe_user->getKey( "ses","Data" );
> 
> print_r( $sessionData );
> 
> For some strange reason the session isnt being stored, but outputted 
> correctly, [...]
"The strange reason" might be the missing
$GLOBALS['TSFE']->fe_user->storeSessionData();
Marcus.
    
    
More information about the TYPO3-dev
mailing list