Re: [PHP] need session_start() to recall session data.

2005-12-04 Thread M
Matt Monaco wrote: Yes, I actually changed the destructors to handle the session as you indicated a few minutes after I posted, however I still have no clue as to why I would need to do a session_start() to get data from the session. How else would php know you want session started? You can tu

Re: [PHP] need session_start() to recall session data.

2005-12-03 Thread Matt Monaco
Yes, I actually changed the destructors to handle the session as you indicated a few minutes after I posted, however I still have no clue as to why I would need to do a session_start() to get data from the session. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On

Re: [PHP] need session_start() to recall session data.

2005-12-03 Thread Curt Zirzow
On Sat, Dec 03, 2005 at 01:28:21PM -0500, Matt Monaco wrote: > I have the following two methods as part of a class I'm using to transport > data between pages. > > static function pack($object) > { > if (session_id() == "") { > session_start(); I wouldn't put a random

[PHP] need session_start() to recall session data.

2005-12-03 Thread Matt Monaco
I have the following two methods as part of a class I'm using to transport data between pages. static function pack($object) { if (session_id() == "") { session_start(); } $class = get_class($object); $_SESSION["cmsSessionArray"][$class] = seri