|
Posted by Scott Auge on 07/20/05 19:45
In article <42cad766$1_1@spool9-west.superfeed.net>,
"Michael G" <mike-g@montana.com> wrote:
> "Michael G" <mike-g@montana.com> wrote in message
> news:42cac7ae$1_2@spool9-west.superfeed.net...
> > What are the drawbacks, limitations, etc. of referencing/manipulating an
> > instance of an object across calls via a session variable?
> >
>
> I just noticed one thing that might be an issue. If the php enviroment
> variable session_auto_start is set to on objects cannot be stored as session
> variables. My question is, is it standard practice to set
> session_auto_start to 'off'?
>
> http://us3.php.net/manual/en/ref.session.php
>
I haven't tried it, but can't you serialize() the object, stuff it into
a session variable, and then get it back later on?
[Back to original message]
|