title: How to hide query string in url?
body: <p>This code is used to send user id to a login page, and will validate the user and redirect to <a href="http://companyABC.com/userdetail.aspx" rel="nofollow">this link</a>. However, sometimes I can see login page and id for a second before user detail page display. This is fine, but I want to hide id in URL. </p>
  
  <pre><code>var url="http://companyABC.com/login.aspx?id='123'";
  var sb = new StringBuilder();
  sb.Append("&lt;script type = 'text/javascript'&gt;");
  sb.Append("window.open('");
  sb.Append(url);
  sb.Append("');");
  sb.Append("&lt;/script&gt;");
  
  this.ClientScript.RegisterStartupScript(this.GetType(), "script", sb.ToString());
  </code></pre>