Gaspa79
Gaspa79

Reputation: 5615

Who's the one making the HTTP request in this ASP.net code?

Title states the question.

doc.Load("http://weather.yahooapis.com/forecastrss?w=468739&u=c");
//parsing code goes here

I'm positive that it's the server that does the request, loads the document and parses it as opposite to the client using the page. However, a coworker says the contrary. We need to know this due to proxy authentication issues.

Thanks a lot!

Upvotes: 1

Views: 68

Answers (1)

Bestter
Bestter

Reputation: 878

WHO execute the code? Your ASP.NET page hosted on the server? Then it's the SERVER!

If you were executing the code is Silverlight or something like that, it will the client.

Upvotes: 3

Related Questions