[horde] easy access to $_SESSION

Liam Hoekenga liamr at umich.edu
Tue Jun 17 20:13:01 UTC 2008


> Session information is initialized by Registry::.  So after a call to:
> $registry = &Registry::singleton();
>
> the Horde session will be available in $_SESSION.

So, I'm trying this..

   if (!defined('HORDE_BASE')) {
     define('HORDE_BASE', '/some/path/to/horde/');
   }

   require_once HORDE_BASE . '/lib/core.php';

   $registry = &Registry::singleton();

   print_r( $_SESSION );

And, it creates a new session... which isn't quite what I want.  I'd  
like to access the $_SESSION for an already established Horde session  
from outside of Horde.

Liam


More information about the horde mailing list