The objects (arrays, classes and so on) can be passed via session variables, however in a multiserver environment the sessions have to be managed via a database.
Pass the object on first page:
<?php
session_start();
$_SESSION[$theobject] = $myobject;
?>
Receive the object on the second page:
<?php
session_start();
$passedobject=$_SESSION[$theobject];
?>
Pass the object on first page:
<?php
session_start();
$_SESSION[$theobject] = $myobject;
?>
Receive the object on the second page:
<?php
session_start();
$passedobject=$_SESSION[$theobject];
?>