Hi,

How can I copy an object from a Zend_Session_Namespace?

My code now:

$session = new Zend_Session_Namespace('customer');
$oldCustomer = $session->customer;

But when I assign a new value to eg. $session->customer->lastname =
"NewName";
The value of $oldCustomer->lastname also changes to "NewName", but I want
$oldCustomer to still have the old values in it.

Thanx.
Mark

Reply via email to