Multiple choice asp

What happens when a user types in a URL that requests an ASP page?

  1. Browser requests ASP code, server returns code, browser executes code into HTML form

  2. Browser requests ASP code, server executes ASP code and returns HTML document to browser

  3. Browser requests code, server returns code, Windows executes code since ASP is Microsoft code.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When a browser requests an ASP page, the web server (IIS) executes the ASP code on the server side. The ASP code generates HTML content dynamically, which is then sent back to the browser as a pure HTML document. The browser never sees the original ASP code, only the resulting HTML. This is why you cannot view ASP source code by using 'view source' in a browser.