[TYPO3-dev] Session Handling Question

Marcus Schwemer schwemer at netzwerkberatung.de
Thu Dec 20 09:03:24 CET 2007


Hi Patrick,

Patrick Rodacker schrieb:

> Marcus Schwemer wrote on 19.12.2007 14:59:
> 
>> I would ĺike to keep a user's session data while he is logging in, so
>> that he/she does not have to enter the data twice. Is that possible? If
>> yes, how can I achieve this?
> 
> yes. Where do you need it?

I need in in the frontend.

A user, who is not logged in, is selected a value in a html select box.
I store it in a session value with

$GLOBALS['TSFE']->fe_user->setKey('ses', $this->prefixId.'[partner]',
$partnerValue);

I would like to be able to have this value in the user session after he
logged in.

Greets,
Marcus




More information about the TYPO3-dev mailing list