PDA

View Full Version : Website Server



27-03-2002, 04:23 PM
If there are, say 100 browers accessing a webserver and they are all requesting a different page to be sent to them. How does the server know which page to sent to which browser. Simple or some reading to do ???.
Cheers
colin

27-03-2002, 04:42 PM
Fairly simple. Each request looks roughly like: 'send the page '/whereit/index.html' to 123.000.212.100 using the HTTP protocol'. The numeric IP address might be a permanent, or a dynamic address assigned to you for your current session.

The requests are put into a queue, and the server handles them in turn. The request contains all the information needed to ensure that the page is sent to the requestor. There is no acknowledgement sent for each request -- the protocol is 'connectionless'. If you get the page, that is your acknowledgement, if you don't get it in a reasonable time, a browser might ask again, or just tell you about it.

28-03-2002, 11:12 AM
This site

http://www.warriorsofthe.net/

has some movies

http://www.warriorsofthe.net/clips.html

which give a fun (and fairly accurate) explanation.

Cheers,
Alan Carpenter