title: How can I save JavaScript variable into session variable?
body: <p>is there any way to save JavaScript variable into session value?
  Here is my code:</p>
  
  <pre><code>function changePage(newLoc)
  {
    subid = newLoc.options[newLoc.selectedIndex].value
  }
  </code></pre>
  
  <p>I need to save subid into session value.</p>
  
  <p>Thanks, in advance.</p>