slide1
Download
Skip this Video
Download Presentation
Web Clients

Loading in 2 Seconds...

play fullscreen
1 / 24

Web Clients - PowerPoint PPT Presentation


  • 99 Views
  • Uploaded on

Web Clients. Chapter 2. Web Protocols and Practice. WEB CLIENTS. Topics. Web Protocols and Practice. WEB CLIENTS. Web Client Definition. Web Protocols and Practice. WEB CLIENTS. Web Client Definition. Web Protocols and Practice. WEB CLIENTS. Browser Functions.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Web Clients' - markku


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

Web Clients

Chapter 2

WebProtocolsandPractice

topics

WEB CLIENTS

Topics

WebProtocolsandPractice

web client definition

WEB CLIENTS

Web Client Definition

WebProtocolsandPractice

web client definition1

WEB CLIENTS

Web Client Definition

WebProtocolsandPractice

browser functions

WEB CLIENTS

Browser Functions

WebProtocolsandPractice

slide6

Browser

DNS server

WEB CLIENTS

1 DNS query

URL

Origin server

2 TCP Connection

3 HTTP Request

4 HTTP Response

5 Optional parallel connections

Figure 2.1. Steps in a browser process

WebProtocolsandPractice

slide7

Figure 2.1 shows the various steps in the process involved in a Web request as processed by a typical browser. The selected URL is parsed to determine the Web server that must be contacted. A connection is set up with the server, and an HTTP request is sent with the URL to obtain the response.

slide11

WEB CLIENTS

Foo1.gif

Foo2.gif

Foo3.jpg

Name:

Address:

:Credit Card

:Book Title

SUBMIT

Mp.tv

Book.cgi

Figure 2.2. Container document foo.html

WebProtocolsandPractice

browser caching

WEB CLIENTS

Browser Caching

WebProtocolsandPractice

browser caching1

WEB CLIENTS

Browser Caching

WebProtocolsandPractice

browser configuration

WEB CLIENTS

Browser Configuration

WebProtocolsandPractice

browser configuration1

WEB CLIENTS

Browser Configuration

WebProtocolsandPractice

table 2 3 helper applications launched based on file content types

WEB CLIENTS

Table 2.3.Helper applications launched based on file/content types

WebProtocolsandPractice

slide18

Browser

WEB CLIENTS

Foo.ra

Origin server

1 HTTP request for foo.ra

2 (Location, protocol)

3 Audio protocol request

Media server

Audio client

Figure 2.3. Listening to audio data

WebProtocolsandPractice

slide19

Figure 2.3: The user selects a resource http://www.bar.com/foo.ra, and the browser sends an HTTP request to the origin server www.bar.com for the resource foo.ca (step 1). The origin server sends back an HTTP response (step 2), but the content of the response is simply a pointer to the information. The response is meaningful only to an audio client rather than a Web browser. Typically, the response is a URL such as pnm://ra-ms.com/foo.ra, where pnm stands for "Progressive Network Media" and ra-ms is the media server on which the resource foo.ca resides. Because the browser has been configured to invoke the helper program based on the file type, it would invoke the real-audio client program, which would contact the media server ra-ms.com (step 3) and start downloading the audio content.

browser configuration2

WEB CLIENTS

Browser Configuration

WebProtocolsandPractice

cookies

WEB CLIENTS

Cookies

WebProtocolsandPractice

cookies1

WEB CLIENTS

Cookies

WebProtocolsandPractice

slide23

WEB CLIENTS

Origin

Server A

Client

Request

Client

Response

Origin

Server A

Set-Cookie: XYZ

Origin

Server A

Client

Request

Cookie: XYZ

Figure 2.4. Client-server exchange of cookie information

WebProtocolsandPractice

slide24

Figure 2.4 shows a client sending a request to an origin server (step 1). The origin server in its response includes the header (Set-cookie) with the cookie value (XYZ) (step 2). In all future requests to the origin server A, the client includes the cookie (step3, sent with the request via the header cookie).

ad