B-219 Sec-55 Noida, India
+918010221733

Getting Current session value in magento on any custom page

require_once ( "../app/Mage.php" );
umask(0);
//Mage::app("default");
 Mage::app();
 
$session = Mage::getSingleton("customer/session"); 
 
if($session->isLoggedIn()){
   var_dump($session->getData());
}
(Visited 50 times, 1 visits today)

Leave a reply