[TYPO3-english] Session data
    Tomiţă MILITARU 
    tomita.militaru at gmail.com
       
    Mon Mar 28 19:41:16 CEST 2011
    
    
  
Hello,
I'm using extension sr_feuser_register with TYPO3 4.2.10 and I want to save
some data in a session to have it available on other pages. My approach was:
$sessionData['key'] = value
$GLOBALS['TSFE']->fe_user->setKey('ses', 'sr_feuser_register',
$sessionData);
$GLOBALS['TSFE']->fe_user->storeSessionData();
But when I want to retrive the date on another page:
$sessionData =
$GLOBALS['TSFE']->fe_user->getKey('ses','sr_feuser_register');
The array $sessionData is empty. Do I miss something?
Thank you!
-- 
Engr. Tomiţă MILITARU
Board Member SbLUG
Web Developer
Tel. +40741064681
    
    
More information about the TYPO3-english
mailing list