How can I have user A and user B has the same instance of an object? I guess this would be across two different sessions.
Checkout APC,
http://www.php.net/manual/en/intro.apc.php
You can store the object to cache like this,
apc_store('my_key', $obj);
and retrieve from another page/session, like this,
$obj = apc_fetch('my_key');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With