title: Using ASP.Net session in Javascript
body: <p>I have to process an operation in Javascript using data stored in session (<code>System.Web.HttpContext.Current.Session["Filtre"]</code>)</p>
  
  <p>Is it even possible to catch and do operation in Javascript using the asp.net session ?</p>
  
  <p>I already tried some sample like this one without success : </p>
  
  <pre><code>var f = '&lt;%=Session["Filtre"]%&gt;';
  </code></pre>
  
  <p>In the case where this is impossible (for security issues I guess), is it possible to call a aspx.cs function in javascript who will perform the operation ?</p>
  
  <p>Have a good day.</p>