Hello,
I`m working on a website that reads the html-code of other websites. This works very well, but on some external links does`nt work.
A part of the code looks like this:
//first I connect to the url.
WebRequest req = WebRequest.Create(link);
//then I fetches the response from the server. This is where things //stops on some websites, and I`m getting a timeout.
WebResponse res = req.GetResponse();
If the link I try to connect to is for instance
http://www.sting.com the webresponse times out. If I change it to
http://www.imdb.com it works fine. I guess maybe something on the page
www.sting.com blocks my application? Anyone know a way around this?