Auto Login via web browser


From our C# application I want to spawn an active X component to let our users view the Digi’s we have in our system.

I’m trying to set it up so that the active X component automatically POSTS the username and password so that users do no need to enter this data.

I have tried the following code:

digiSetup.mWebBrowser.Navigate(“http://” + ((IPDeviceStatus)sender).IPAddress.ToString() +
“”, postData, “Content-Type: application/x-www-form-urlencoded

but it doesn’t auto login on the Digi. I know this works because I can auto login on other web sites with this same code.

Right clicking on the Digi login screen and viewing the source I see javascript as follows: