In my site i have joomla 1.6 and magento 1.5, i would like to get the magento logged user session values in joomla to show as logged in .....
i have tried the following code :
'frontend')); $session = Mage::getSingleton('customer/session', array('name'=>'frontend')); print_r($session); echo Mage::getSingleton('customer/session')->getCustomer()->getEmail(); echo Mage::helper('customer')->getCustomerName(); ?>
But im getting empty values
Note : Sometimes i may get the customer details , if i tried to test the answer like delete the browser cookies and delete cache in magento ,again log in , it results as empty array