I am using the following function to add a serialized object to a
session:

function add_toCart($id,$array) {
        session_register("OBJECT");
        $c = new Configurator;
        $c->readConfig($id);
        $OBJECT = serialize($c);
        header("Location: Cart.php");
        echo "Redirecting..."
}

Unfortunately, the session file (in /tmp) is always empty after this
function executes.  I'm using PHP 4.0.4 with --enable-trans-sid.

Any help is greatly appreciated.

Cheers,

-jm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to