title: IE window.open on second session opens a window with first session id
body: <p>I have an <em>asp.net</em> application and I need to have two sessions running at once.</p>
  
  <p>I also use <code>windows.open</code> on some of my pages, and this is where my problem starts. If I have two sessions running when I call <code>windows.open</code> in JavaScript from one of my pages in session two, the new window opens with the session id from session one.</p>
  
  <p>I should also add that the second session is created in a different IE instance using the code below.</p>
  
  <pre><code>var myshell = new ActiveXObject("Shell.Application");
  
  if (parseFloat(ieVersion) &gt;= 8) {
      myshell.ShellExecute("iexplore.exe", "-noframemerging " + url, "", "open", 1);
  }
  else {
      myshell.ShellExecute("iexplore.exe", url, "", "open", 1);
  }
  </code></pre>