[horde] Mechanism for storing objects in the horde session

Michael Cochrane mike at graftonhall.co.nz
Thu Aug 1 02:23:49 PDT 2002


Another place to look is the nag and kronolith data.php files which use the
cache class in a slightly easier to see way.

- Mike :-)

Quoting Igor Stroh <stroh at scan-plus.de>:

> Hi there,
> 
> I'd like to store instances of my custom classes in a session. I tried
> to simply register the objects in the session but php raises an error
> upon reload of the page that contains the object (the ussuall
> "incomplete object" error). I  know that Horde uses lib/Cache.php for
> storing objects in the session, but I can't figure out how to do this
> correctly. I read the source of some IMP's scripts which use this
> mechanism (compose.php e.g.) but I'm still confused... Can someone
> provide me with a simple usage example?
> 
> Greetings,
> Igor
> -- 
> ScanPlus GmbH NOC Ulm - Germany - Griesbadgasse 7-13 - D 89073 Ulm
> TEL +49 731 920 13 100 - FAX +49 731 920 13 290
> eMail: support at scan-plus.de
> Amtsgericht Ulm - HRB3220 - Geschaeftsfuehrer: Juergen Hoermann


-- 

There is nothing wrong with making mistakes. Just don't respond with encores.
signature from Siglets.com

-------------------------------------------------------------------------
This mail sent from Mike's CVS HEAD install of IMP: http://horde.org/imp/



More information about the horde mailing list