Posted By

rahijain on 08/19/11


Tagged

php magento


Versions (?)

Magento Session


 / Published in: PHP
 

  1. $session = Mage::getSingleton("core/session", array("name"=>"frontend"));
  2. // Set data
  3. $session->setData("varibleName", 4);
  4. // Get data
  5. $variableName = $session->getData("varibleName");
  6. // Return 4

Report this snippet  

You need to login to post a comment.