Use the below code to set and get Magento session values:
// set value
$value = 123;
// get value
$value = Mage::getSingleton('core/session')->getValue();
Setting and getting session values
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!