I set array variable in session in magento modal page and want to retrieve in another page like getuserdata.php but not get in another page. I set variable and get in one page then in completely retrieve.
My code is like..
//first page code.
$session = Mage::getSingleton("core/session", array("name"=>"frontend"));
$fldata = 'work for set data';
$session->setData("free_auth", $fldata);
//another page code.
session_start();
require_once ("../../app/Mage.php");
umask(0);
Mage::app('default');
$session = Mage::getSingleton("core/session", array("name"=>"frontend"));
$stl1 = $session->getData("free_auth");
Anyone can help me for that stuff problem..