title: How to create a session using JavaScript?
body: <p>How to create session in <code>JavaScript</code>?</p>
  
  <p>I try like this: </p>
  
  <pre><code>&lt;script type="text/javascript" &gt;
  {
  Session["controlID"] ="This is my session";
  }
  &lt;/script&gt; 
  </code></pre>
  
  <p>Why I looking for session? </p>
  
  <p>I make a request for XML using AJAX. XML response I want to store in session and this session I want to pass to the server page(.asp). I mean to write something like:</p>
  
  <pre><code>&lt;% response.write session("MySession")%&gt;
  </code></pre>