title: Cant get session values in Smarty based JavaScript
body: <p>I cant use values stored in session in smarty based JavaScript. Also there is no error but I cant see the values in alert(); here is the snippet.As far as value of "rvalue" is concerned it is present in Session. Here is the snippet.</p>
  
  <pre><code>alert("{$smarty.session.rvalue}");
  </code></pre>
  
  <p>i also tried this </p>
  
  <pre><code> var val1="{$smarty.session.rvalue}";
   alert(var1);
  </code></pre>