[Typo3-dev] bug with session on header redirect

Stefan Beylen intsys at swissinfo.org
Fri Jun 3 09:55:40 CEST 2005


can anyone confirm this:
V 3.7

if I change Sessiondata and then do a Headerredirect the data is not 
written to the session

unset ($sessionvar);
$GLOBALS["TSFE"]->fe_user->setKey("ses","sessionvar",$sessionvar);
header('Location: '.t3lib_div::locationHeaderUrl('redirect.html');

it works like this when I comment out the header stuff

had to do it manually via exec_SELECT and exec_UPDATE then it worked 
with the redirect.

I'll file it on the bugtracker if anyone gives me a confirmation...

have a nice day




More information about the TYPO3-dev mailing list