Re: Object persistence

From: Date: Wed, 07 Feb 2001 06:42:12 +0000
Subject: Re: Object persistence
References: 1 2  Groups: php.pear 
Request: Send a blank email to php-pear+get-1281@lists.php.net to get a copy of this message
I have no problems registering objects as session-variables as long as I include the classes for every object I use *before* I call session_start(). HTH, Vinai Paul Meagher wrote: > > I have been experimenting a bit with trying to register and pass objects > from one page to the next. PHP's support for this appears to be quite > limited and possibly fickle. My search throught the mail archives reveals > similiar gripes about its lack of support in this area. > > It could be that I just don't know the proper way to pass such objects. I > would like to know, however, if other people have run into similiar > difficulties and if there is a "best practices" way of doing this. > > Assuming that there are limitations to PHP's current support for object > persistence, I am wondering if session management for objects is something > that should be / is going to be implemented at a language level or whether > it should be implemented as a PEAR object persistence class of some sort? > > Regards, > Paul Meagher

« previous php.pear (#1281) next »