Re: starting a session

From: Date: Tue, 03 Feb 2004 16:45:41 +0000
Subject: Re: starting a session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-176701@lists.php.net to get a copy of this message
"Angelo Zanetti" <binc2@ctech.ac.za> wrote in message news:BPEOIJEFGCBLOABOGLIDCEHJDGAA.binc2@ctech.ac.za... > Hi, > > is there ever a certain situation where you would have something at the top > of your page before session_start();? If so why would it be before > session_start();? I have a situation where I'm saving an object in session. If I don't include that class file before starting the session, it adds another property to the object called (something like) UnDefined_Object. Everything else works fine, but just to get rid of that, I always include the class file before starting the session. -- Rob

« previous php.general (#176701) next »