Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
15 votes

Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.

  1. The web browser requests a webpage using HTTP.
  2. The web browser establishes a TCP connection with the web server.
  3. The web server sends the requested webpage using HTTP.
  4. The web browser resolves the domain name using DNS.
  1. 4, 2, 1, 3
  2. 1, 2, 3, 4
  3. 4, 1, 2, 3
  4. 2, 4, 1, 3
in Web Technologies 1.9k views

3 Answers

12 votes
Best answer
The web browser first need to figure out IP address of site from url using DNS, then establishes a TCP connection, typically at port 80. Once the TCP connection is established, the browser sends a HTTP request using GET. Finally web server responds with HTTP response.

selected by
Resolving domain name in to ip address using DNS also refferd as dns overhead

if here udp is also mentioned in the question,then do we have to use udp first?

because DNS uses udp at transport layer.   @Regina Phalange   

10 votes
4 2 1 3
0 votes
Ans- A  4,21,3

Related questions

9 votes
3 answers
A graphical HTML browser resident at a network client machine $Q$ accesses a static HTML webpage from a HTTP server $S$. The static HTML page has exactly one static embedded image which is also at $S$. Assuming no caching, which one of the following is correct about the ... A single HTTP request from $Q$ to $S$ is sufficient, and this is possible without any TCP connection between $Q$ and $S$
asked Sep 28, 2014 in Web Technologies jothee 2.5k views
3 votes
1 answer
Which of the following statement is/are FALSE? XML overcomes the limitations in HTML to support a structured way of organizing content. XML specification is not case sensitive while HTML specification is case sensitive. XML supports user defined tags while HTML uses pre-defined tags. ... need not be closed while HTML tags must be closed. Ⅱ only Ⅰ only II and IV only III and IV only
asked Feb 13, 2015 in Web Technologies makhdoom ghaya 1.2k views
0 votes
1 answer
The main reason for preferring servlet for web application development is : (A) Increased performance of web application (B) Easy to develop an application (C) Platform independent application (D) More secure application
asked Mar 6, 2017 in Web Technologies Beyonder 451 views
9 votes
5 answers
Which of the following statements is NOT correct about HTTP cookies? A cookie is a piece of code that has the potential to compromise the security of an Internet user A cookie gains entry to the user's work area through an HTTP header A cookie has an expiry date and time Cookies can be used to track the browsing pattern of a user at a particular site
asked Feb 12, 2015 in Web Technologies jothee 2.6k views