Okay, I must of been sleeping last night when I had this problem. Unfortunately I posted this am prior to looking into the problem. Now Im back at home and I see it was a dumbass mistake, I simply did
session_register($myobject) rather than
session_register("myobject").
PHP DOES persist a CORBA object to a session.
James A Brannan.
------ here is code - fyi ------------
<?php
session_start();
$metatags = '<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="expires" CONTENT="0">';
?>
<body>
<a href="feeding3.php">NEXT-></a>:
<?php
$feedingFactory = new UniverseObject("file:///var/www/objects/unshared/FeedingFactory.ref");
$feeding = $feedingFactory->create();
$feeding->addchow(100);
$feeding->removechow(20);
session_register("feeding");
?>
</body>
---------------------- page 2 -------
<?php
session_start();
$metatags = '<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="expires" CONTENT="0">';
?>
<body>
The feed amount is:
<?php
echo $feeding->amtchow();
?>
</body>