title: Assign session value using javascript
body: <p>Is there any way to assign session value using javascript</p>
  
  <p>i can retrive the value from session but assigning is not working</p>
  
  <pre><code>var TempSession = '&lt;%= Convert.ToInt32(Session["Status"]) %&gt;';
  if(TempSession ==6)
  {
     alert(TempSession );
     TempSession =1;
  }
  </code></pre>