Magento Session

Set session
=========

$myData = ‘PHPCodez’;
Mage::getSingleton(‘core/session’)->setMydata($myData);

get session value
=========

$myData = ”;
$myData=Mage::getSingleton(‘core/session’)->getMyData();

Unset session
=========

Mage::getSingleton(‘core/session’)->unsMyData();