Tuesday, April 29, 2008

What is HTTP?

HTTP

  • HTTP is actual communication protocol that enables web browsing.
  • Hypertext:- Textual data which is linked across multiple documents or locations
  • HTTP is used by server and your computer to transfer data between them. HTTP is an application protocol.
  • HTTP defines how messages are formatted and transmitted and what actions web servers and web browsers should take in response to various commands.
  • HTTP GET:- GET should be used if and only if the form processing is idempotent , means pure query form (many database searches have no visible side-effects and make ideal applications of query forms)
  • HTTP POST:- if the service associated with the processing of a form has side effects (e.g. modification of a database or subscription to a service), the method POST should be used
RESPONSE object
  • It communicates between the server and the output which is sent to the client
  • If you don't want the browser to cache the page (for quicker download times) then you can set Response.Expires=0
  • Buffer:- if buffer is set to true, the server processes the entire ASP script before sending any of the file to the client, otherwise the server will send data to client as it processes it.

No comments: