Jay Wright wrote:
...
My page uses a header.php5 include file to call
session_start(). Next a
require_once(classloader.php5) performs the
autoload.
Here is the problem... you need to switch the order. Load the classes /
autoloader first, then session_start(). PHP was able to serialize
Stephen Craton wrote:
I've been working on a script for a while now and it works perfectly on my
local machine. I'm using a couple of classes, mainly my database and users
classes.
After logging in, I assign a session variable to the user's row in the
database: $_SESSION['user'] = $db-row;
I don't see where you include() your class definition in that second
file... add include(nycmgMail.php) right before the session_start()
line and see if that makes a difference.
-philip
On Thu, 30 Jan 2003, Weston Houghton wrote:
Ok, now I'm frustrated.
I'm trying to register an object in
3 matches
Mail list logo