Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

session value not getting
 
unnikrishnanes
Member
 
Total Posts:  38
Joined:  2010-04-26
 

I have created a shipping module and in that I am assigning a value to session

Mage::getSingleton(’core/session’)->setIsFraktjakt(true);
$fraktjaktId = $resultXML->id;
Mage::getSingleton(’core/session’)->setFraktjaktId($fraktjaktId);
Mage::log(’Fraktjakt id : ‘.Mage::getSingleton(’core/session’)->getFraktjaktId());
Mage::log(’is fraktjakt : ‘.Mage::getSingleton(’core/session’)->getIsFraktjakt());

here its logging both the value but when I tried to log the session values in OnePageController.php I am getting only one value ( getIsFraktjakt() ) which is true in this case.

but if I give a value to Fraktjakt as constant (say ‘12345’), its working properly. that means both the values are getting logged

Anyone have idea about this

 
Magento Community Magento Community
Magento Community
Magento Community
 
unnikrishnanes
Member
 
Total Posts:  38
Joined:  2010-04-26
 

no probs ,, I fixed it..

so this post is considered closed

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top