.: What Happens from Server to Web Browser

By:DavidPierce

Category:Home / Business / E-Commerce

Each time you click on a link in a web page or type an address into your web browser you are making a 'request' for a certain document. That request is handled with the Hyper Text Transfer Protocol (HTTP) and sent over the Internet to the server which holds the document in question. If all goes well the server responds by sending the document -- usually a web page of text and graphics.



HTTP is part of the Internet Protocol (IP) suite. It is used by a 'client' such as a web browser to establish a connection with the server which hosts a particular website. The server waits for incoming requests by monitoring TCP port 80.



Transmission Control Protocol (TCP) is used to create connections between two computers on the Internet so they can exchange data. TCP has provisions for identifying the requesting computer and for transmitting data with time stamps so that it can be reassembled in the correct order once it arrives at its destination.



There are several TCP ports which have standardized uses. TCP port 21, for example, is usually reserved for FTP (File Transfer Protocol) for uploading and downloading files. Port 80 is usually used for HTTP.



If the server receives a request string on TCP port 80 in the form of GET / HTTP/1.1 it will send a response code depending on whether the requested web page is available or not. A typical request goes like this:



GET /faq.html HTTP/1.1

Host: http://www.mywebsite.com



This is a request for http://www.mywebsite.com/faq.html. The 'Host' needs to be specified to distinguish websites which are hosted on shared servers. If faq.html is available the server will respond:



HTTP/1.1 200 OK

Date: Mon, 12 October 2005 22:38:34 GMT

Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)

Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT



...followed by the actual web page.



HTTP/1.1 200 OK means that the requested web page is available. Other codes can also be returned. The code 404, for example, means that the server cannot find the requested page. The web page is sent via TCP as a series of data packets each with a header that specifies its destination and order in the data stream. The various packets can all take different paths to reach their destination. Each is sent through a router which polls other routers which are close by. If a connection with the first router is unavailable the data will be sent through another one.



As the data is received the client (the web browser) sends back an acknowledgement. This ensures that all the packets are received within a certain time. If not, they will be re-transmitted by the server. TCP also checks that the data is undamaged. The data is reassembled in the correct order thanks to the sequence number of each data packet. Voila! The web page appears on your computer screen.



The TCP connection can be kept alive for additional requests from the client. This allows several pages to be requested within a short time period without causing the overhead of opening and closing TCP ports. Either client or server can close the connection at any time.

Digg del.icio.us Blink Stumble Spurl Reddit Netscape Furl

Article keywords: hosting, web, web hosting, monitoring service

Article Source: http://www.articles32.com

David is an experienced internet entreprenuer with over 7 years of experience. He owns and operates the site www.cheapaffordablewebhosting.info
Visit his site for reviews on the best webhosting companies.







.: New E-Commerce Articles

1). Personal Protection Information You Need to Stay Safe
Personal safety information and how it applies to everyone. Why you need to be aware of personal protection, regardless of your location or your occupation.

2). Work At Home By Selling On eBay
It does not take a lot to start working at home and selling on eBay. Here is how you can set up your own eBay business and work at home in 5 easy steps.

3). Traffic Exchange Program and Free Traffic. Does It Works?
Many webmasters are interested in getting more traffic to their web site, especially the new web site. Without a doubt many of the new webmasters will have a try on the free traffic exchange program all over the internet. So the question is, does it work?

4). Finding An Internet Based Business Oportunity
An internet based business opportunity is probably just a few keystrokes away, learn how to capitalize on this opportunity on a consistent basis.

5). How To Do Off Page SEO
Here are some simple step you can take to improve your off page seo.

6). Ten Reasons Why Your Business Needs A Website
Here are 10 good reasons why you will benefit by giving your small business a web presence.

7). Boost Your Income Streams For Your Online Business
Cross-selling and back-selling are additional profit streams to capitalize on existing traffic and conversion.


.: Top E-Commerce Articles

1). Ebay Store vs. Ecommerce Website
Many times a new product seller is torn between creating an eBay store and setting up a web store on your own domain. This article will help you decide if an eBay store is the right choice for your business.

2). Wholesale Myth: Do I Need A Business License Or Tax ID?
Discover the old time wholesale myth that has been hunting every wholesale business start-up student for decades. Once you discover how to get buy wholesale without a business license or tax id, your product selection will skyrocket.

3). The Pros and Cons of Online Commerce
As the Internet comes of age more and more people and buying goods online. This has becoming a growing trend that looks like it will continue to grow. But what are the pros and cons of buying goods online? There are several things to consider. Let’s start with the pros. As competition for online business keeps growing exponentially the prices of goods are being driven down.

4). The e-Commerce Revolution
The Growth of E-Commerce It's amazing all the changes in the way people do business in the short time since the beginning of the e-commerce revolution. The e-commerce revolution was predicted in the early stages of the internet. Those who predicted the sweeping business changes brought about by the world wide web knew what they were talking about. In the early days of the e-commerce revolution customers were reluctant to give their credit card information to somebody on the internet.

5). The Next Google, eBay and PayPal All Rolled Into One - DXinOne
Ever wonder who the next Google, eBay or PayPal is going to be? Want to "get in on the ground floor" like the early employees of these companies who got cheap stock options and were able to cash them in later for big payoffs? This article will guide you toward just such an opportunity -- one that anyone can take advantage of with a modest investment of time and money.

6). Is SSL it Important? Selling Online Securely.
The question of what SSL is always comes up when you are selling online. It is usually followed by "Do I need it for my online store". In this article you will find out the answers to both your questions and more!

7). Merchant Accounts 101
For all of the new webmasters out there that have recently established a business and are looking to accept credit card payments online, here’s a little Merchant Accounts 101 course for you! In understanding how merchant accounts work, you will be better able to operate your online business smoothly and effectively.


Page loaded in 0.282 seconds.