Question:Which of the following will save a custom session variable in Magento? 

A $_SESSION['name'] = 'frontend'; 

B $session = Mage::getSingleton("core/session", array("name"=>"frontend")); $session->setData("device_id", 4); 

C Mage::getSingleton( 'customer/session' )->setValue( 'name', array( 1, 2, 3 ) ); 

D None 

+ Answer
+ Report
Total Preview: 1011

Copyright © 2024. Powered by Intellect Software Ltd