[TYPO3-dev] Set and read cookies

Tapio Markula tapio.markula at xetpoint.fi
Wed Jul 16 19:44:35 CEST 2008


bernd wilke
> do you really need arrays?

in fact not necessarily - that is just my habit
Several cookies could easier temporary unset with one command
$_COOKIE['menuCookie']=NULL;
> 
> may this could be solved with multiple cookies, where teh cookie-names 
> can be generated:
> 
> menuCookie
> menuCookie_1
> menuCookie_2
>    :
> 
> var name = "menuCookie_"+level; 

that would be nice solution - one function istead of own function for 
every level and there would not be level restrictions. I have thought 
that too.




More information about the TYPO3-dev mailing list