Has anyone succeeded in sharing session state with joomla? I would like to be able to do something like:
$customer = Mage::getModel(âcustomer/customerâ);
$session = Mage::getSingleton(âcustomer/sessionâ);
However, joomla defines __autoload() in it’s own way which conflicts with Magento’s __autoload(). Not being an experience php programmer, I don’t know if there is an easy way to solve this.
I searched all over for a way to undefine a function in php, and it doesn’t look like it’s possible (please tell me I’m wrong!).
I tried running a trace on which files were autoloaded in magento to get a list to load manually, but that didn’t pan out, either.
So, I’ve been looking at the session code in Magento to see if I can cherry pick the bits to initailize it correctly without initializing the Magento app, but I’m not inspired with confidence.
Has anyone tried doing this using a Soap client, perhaps?
Any advice would be greatly appreciated.