ASP   «Prev  Next»

Lesson 2Browser-server communication
ObjectiveExplain the initial browser-server interaction on a Web site.

Browser-server Communication in ASP

When you enter a URL into a Web browser program, you are really initiating a computer-to-computer exchange. Your browser sends a request to a server, and the server responds. Both the request and response are in Hypertext Transfer Protocol (HTTP), the common language for requesting and sending files (Web pages, text, graphics and other binary files) over the Web.
When a browser first contacts a Web server, each identifies itself to the other and exchanges information on the file types, features, and languages each supports. Later lessons will explain how ASP programs can store the information exchanged in this process and create an appropriate response.
This SlideShow illustrates a typical browser-server initial exchange, often called a handshake:

Asp Server Side Scripting
Once communication is established, the ASP program can read and store:
  1. The status and header information that accompanies each user request
  2. Information that the Server has written to the user's computer during a previous visit
The next lesson describes the characteristics of ASP's objects.