Results 1 to 2 of 2

Thread: HTTP Browsing

  1. #1
    Noor Nashid Guest

    HTTP Browsing

    Dear All,

    I want to know about the following scenario.

    Suppose a user is browsing a website. So at first we send one GET
    request like
    GET /HTTP/1.1 HOST: www.google.com.sg.

    After that what happens? The server responds with a POST messages. Is
    it like at first the index HTML is back with a POST to the browser?

    And then the browser sends the subsequent GET after parsing the HTML
    page and it is how the Browser gets the objects of a page?

    Please correct me if I am wrong.

    Thanks
    Nashid

  2. #2
    Join Date
    Mar 2010
    Posts
    88
    The common Scenario is

    Step 1:
    User send request to access the URL from browser via Request object
    Step 2
    The web server give the page in html and obviously it will be index.html or default.html (or what you set default page in your web document, usually it is your home page named with index.html or default.html)
    Step 3:
    Once user get the response via response object from Server, he then make postback and send data form and then depends what statement management will be used either Session, application etc.
    Because http is stateless protocol and to manage the state web technologies has introduce the concept of statement management either client side or server site state.

Similar Threads

  1. http request forwarding
    By dorkai in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 03 May 2008, 12:36 PM
  2. Help with password proteced directory browsing...
    By okboosted in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 16 Feb 2006, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •