errata:
$newObj->display();// this *does* work
On 11/29/06, list arama <[EMAIL PROTECTED]> wrote:
Here's what I came up with:
--script1---
setName('MyName');
$obj->display();
header("Location: http://localhost/~mdl/webProj/photoAlbu
/sessionReceiveObj.php";); //
re-direct to script2
> >
> > ---script 2
> > > include("TestClass.php");
> > session_start();
> >
> > $newObj = unserialize($_SESSION['obj']); //-- convert string back into
object
>
> DONT UNS
Why am I not able to access the obj name field in script 2?
thanks in advance,
--script1---
setName('MyName');
$obj->display();// outputs 'MyName'
header("Location:
http://localhost/~lr/webProj/photoAlbum2/sessionReceiveObj.php";); //
re-direct to script2
ob_flush();
?>
---script 2
3 matches
Mail list logo