Z
zorhel
Greetings,
I need to create a lot of instances of WebBrowsers (let's try 100) and store
that in a WebBrowser[] array according my following code, using Visual
Studio 2005 Beta.
private class Test
{
private WebBrowser[] _browser;
private void OpenBrowser()
{
for(int i=1; i<=100; i++)
{
_browser = new WebBrowser();
_browser.Navigate(http://localhost/Tests/WebEvents/main.aspx);
}
}
}
The problem is, when I see how many sessionId was create, I see just 2!
What is the problem of this code?
Please, how can I fix this problem?
Thanks in advance.
zorhel
I need to create a lot of instances of WebBrowsers (let's try 100) and store
that in a WebBrowser[] array according my following code, using Visual
Studio 2005 Beta.
private class Test
{
private WebBrowser[] _browser;
private void OpenBrowser()
{
for(int i=1; i<=100; i++)
{
_browser = new WebBrowser();
_browser.Navigate(http://localhost/Tests/WebEvents/main.aspx);
}
}
}
The problem is, when I see how many sessionId was create, I see just 2!
What is the problem of this code?
Please, how can I fix this problem?
Thanks in advance.
zorhel