dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: http.status

  1. #1
    Join Date
    Feb 2006
    Location
    Ft Lauderdale
    Posts
    299

    http.status

    I am trying to find out how to echo all the http events when the page is loading

    sometihng that reads when the httpevent changes echo new event

    Thanks

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    What do you mean by http events? Can you be more descriptive, please?

  3. #3
    Join Date
    Feb 2006
    Location
    Ft Lauderdale
    Posts
    299
    like status = 4 or status 200, or status 404.

    When the browser changes there staatus event

  4. #4
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    The HTTP status is sent by the server once for each request. And I'm fairly certain that you can just check xmlhttp.status wherein xmlhttp is an instance of XMLHTTPRequest. The status attribute should be set when the server responds and should remain the same until the object is reused for another request ...

  5. #5
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    Quote Originally Posted by moiseszaragoza View Post
    like status = 4 or status 200, or status 404.

    When the browser changes there staatus event
    well, 4 is a readystate, which does change, but 200 and 400 don't change, so they don't need an event.
    you probably should look into onreadystatechange()...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles