title: Passing querystring from one page to another through javascript
body: <p>I have two different pages. I want to send querystring from one to another. below is my sample code that i have tried</p>
  
  <pre><code>window.location.search = 'id='+hidposid.value; 
  window.location.href="editviewposition.aspx";
  </code></pre>
  
  <p>in another page i retrieve the value </p>
  
  <pre><code>cookie1 = HttpContext.Current.Request.QueryString("id") ' returns ""
  </code></pre>