Re: [PHP-PEAR] Object persistence

[email protected] (Vinai Kopp)
Newsgroups php.pear
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.