title: How get session data in magento block?
body: <p>I am setting Magento session but unable to get it in my block.</p>
  
  <p>I have controller where session data is save into <code>LB_Session</code>.</p>
  
  <pre><code>Mage::getSingleton('customer/session')-&gt;setLB_Session(serialize($_SESSION['LB_Session']));
  </code></pre>
  
  <p>I am  getting this into controller.</p>
  
  <p>But when I try to get it in block its not working.</p>
  
  <p>I am calling block on add product to cart page which is called as per below</p>
  
  <pre><code>&lt;catalog_product_view&gt;
  &lt;reference name="product.info.addtocart"&gt;
  &lt;block type="lb/lbblock" name="lbregistration_button_lbblock" template="lb/lbregistration_button.phtml" /&gt;
  &lt;reference name="content" &gt;
  &lt;block type="lb/lbblock" name="lbregistration_popup_lbblock" template="lb/lbregistration_popup.phtml" /&gt;
  &lt;/reference&gt;
  &lt;/reference&gt;
  &lt;/catalog_product_view&gt;
  </code></pre>
  
  <p>Thanks in advance</p>