[imp] $imp vs. $_SESSION['imp']

Otto Stolz Otto.Stolz at uni-konstanz.de
Mon Sep 18 01:54:33 PDT 2006


Hello,

I had written:
> - Or should I rather use $imp['cache']['knu']?

Chuck Hagenbuch wrote:
> I'm not sure why 'cache'.

Because of the following remark in horde/imp/lib/Session.php:
> class IMP_Session {
>     /**
...
>      * Creates the $imp session variable with the following entries:
...
>      * 'cache'         -- Various IMP libraries can use this variable to cache
>      *                    data.

I had also asked:
>   Or perhaps $_SESSION['imp']$imp['cache']['knu']?

Chuck Hagenbuch wrote:
> I don't understand what that would be.

A typo. I had meant to write "$_SESSION['imp']['cache']['knu']",
Of course.

Thanks for the explanation given,
and best wishes,
   Otto Stolz



More information about the imp mailing list