There is a particular secure web page that we are required to download and parse. Its from this parsed data we need to do a host of other things... The so-called 'multiple authentication' part goes like the follows:
If you've hosted web sites on IIS and turned on the Integrated Security feature (with anonymous browsing turned off), you'd notice that the instant you type in the url to that page a window pops out of your browser asking you for your windows network credentials...this particular external web page has something similar to that.
The weird thing is that it shows that window twice. And the page only loads correctly when I provide my credentials twice. Yes, I have to provide my credentials twice!!! I have not come across such a scenario. I did notice the title of the pop up and figured that that is the url where I've to provide my credentials.
To download web pages I make use of the HttpWebRequest & HttpWebResponse objects. For the web request object I have to set the credentials appropriately. For this I had created a CredentialsCache object and added the two credentials (Ref http://msdn.microsoft.com/en-us/library/system.net.credentialcache.aspx for sample code). Still no luck.
Has anyone come across this scenario?