Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Extends Mage_Core_Model_Session_Abstract
 
Gregory Tonon
Member
 
Avatar
Total Posts:  65
Joined:  2008-03-27
Toulouse
 

Hello
To develop a module for magento, I must use the sessions. My class extends Mage_Core_Model_Session_Abstract and I am inspired Mage_Customer_Model_Session.php. But it’s not working because the data returned by Mage: getSingleton () are always empty (while in the code I change value of attribute.).

Assistance will be welcome.

My constructor

public function __construct()
    
{
        $this
->init('eventmanager');
    
}

My class is used as an observator ( i develop an event manager ).

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top