[TYPO3] delete session - unset session [SOLVED]
Anders Tillbeck
at at opengate.dk
Fri May 25 17:03:52 CEST 2007
Foud a typo...
This seems to delete my sessions variable:
$GLOBALS['TSFE']->fe_user->setKey('ses', 'bb_fe_user', NULL);
Anders Tillbeck skrev:
> Hi
>
> I am working with a session variable in an extension. I can set the
> session and get the session but how do I delete the session?
>
> Set $value:
> $GLOBALS["TSFE"]->fe_user->setKey("ses", "bb_fe_user", $value);
>
> Get $value:
> $GLOBALS['TSFE']->fe_user->getKey('ses','bb_fe_user');
>
> delete session:
> ??
>
> I have tried many things but get some random errors that may be due to
> my test server setup.
>
> BR. Anders
More information about the TYPO3-english
mailing list