[horde] easy access to $_SESSION
Michael M Slusarz
slusarz at horde.org
Tue Jun 17 19:57:57 UTC 2008
Quoting Liam Hoekenga <liamr at umich.edu>:
> I'm trying to write a stand alone script that would need access to
> $_SESSION as created by Horde's session handler. Is there an easy
> way to get to that data? Can I just include like... lib/Horde.php
> and have it work, or do I need to do actually build up the whole
> session object in my script?
Session information is initialized by Registry::. So after a call to:
$registry = &Registry::singleton();
the Horde session will be available in $_SESSION.
michael
--
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list