title: C# wininet InternetSetOption
body: <p>I'm using <a href="https://stackoverflow.com/questions/434469/how-to-clear-system-windows-forms-webbrowser-session-data/1871828#1871828">How to clear System.Windows.Forms.WebBrowser session data?</a> and it works as long as there is only one browser. Is it possible to give 2 web browser controls within the same application their own session?</p>
  
  <p>If so, would I just need to change</p>
  
  <pre><code>InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
  </code></pre>
  
  <p>to</p>
  
  <pre><code>InternetSetOption(webBrowser1.Handle, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
  </code></pre>
  
  <p>?</p>
  
  <p>Or is something else required?</p>