Magento cannot get session value on another page
===

OnList page i am setting the session value, and can access there. But On Product view page i cannot get value.   

      <?php Mage::getSingleton('core/session')->setCategoryProductsIds($_catProductIds);  ?>
        <?php  $all_product_ids = Mage::getSingleton('core/session')->getCategoryProductsIds(); print_r($all_product_ids); ?>
       

Thanks for any suggestion, i have been stuck !!!!

One interesting thing this is giving me fine working in Safari, but chrome, ie making problem what i mentioned above.