Jump to content

How to get web server respond code???


Recommended Posts

hi,

need some body help

thank you.

Do you mean errors such as:

400 Bad File Request

401 Unauthorized

403 Forbidden/Access Denied

404 File Not Found

408 Request Timeout

500 Internal Error

501 Not Implemented

502 Service Temporarily Overloaded

503 Service Unavailable

Which generally depending on server setup or fail-over are served via webpage response.

You would need to look up in helpfile [_IEBodyReadHTML, StringInStr, InetGet] just for starters.

are you wanting to setup a monitoring application?

Edit: potential issue with IE with "Show friendly HTTP error messages" option enabled, you may want to look that up also.

ftc

Edited by failedtocompile
Link to comment
Share on other sites

Do you mean errors such as:

400 Bad File Request

401 Unauthorized

403 Forbidden/Access Denied

404 File Not Found

408 Request Timeout

500 Internal Error

501 Not Implemented

502 Service Temporarily Overloaded

503 Service Unavailable

Which generally depending on server setup or fail-over are served via webpage response.

You would need to look up in helpfile [_IEBodyReadHTML, StringInStr, InetGet] just for starters.

are you wanting to setup a monitoring application?

Edit: potential issue with IE with "Show friendly HTTP error messages" option enabled, you may want to look that up also.

ftc

hi,

thanks you for your answer.

Donot only http error,also have some respond after some actions.For example,i do some actions on web flash game,the web server will return some respondcode, i want to get the respondcode with AutoIt script. Then estimate to continue or stop run the AutoIt script.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...