[TYPO3-dev] Proper usage of session storage

Francois Suter fsuter at cobweb.ch
Thu Dec 18 11:20:50 CET 2008


Hi,

> after setKey you should use
> $GLOBALS["TSFE"]->fe_user->storeSessionData();

This seems to be done automatically during the course of page rendering, 
isn't it? At least it works without having to do that call explicitely 
in my code.

> Also you should differ fe_user and anonymous user:
> Session data type; Either "user" (persistent, bound to fe_users profile) 
> or "ses" (temporary, bound to current session cookie)

Yes, thanks. I'm aware of that difference. And I *do* want "ses" :-)

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch




More information about the TYPO3-dev mailing list