Having trouble storing objects in a session. When I do this:

if (!isset($_SESSION['auth'])) {
    $auth = new Auth();
    $_SESSION['auth'] =& $auth;
} else {
    $auth =& $_SESSION['auth'];
}

I end up getting the following errors when I refresh the page.

__PHP_Incomplete_Class Object
(
    [__PHP_Incomplete_Class_Name] => auth


I'm using php-4.2.2.

ron


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to