3

When I load something in a browser, what's the default amount of time a browser will take to attempt to establish a connection?

Can this be increased in Javascript or HTML?

Cases that I would require this are server-side time sampling without a server-side loop, etc.

hexacyanide
  • 88,222
  • 31
  • 159
  • 162
  • this will help you:http://stackoverflow.com/questions/1342310/where-can-i-find-the-default-timeout-settings-for-all-browsers – Amrendra Mar 02 '13 at 19:42

1 Answers1

5

can't be set from your frontside as it is a server-side configuration.

gmaliar
  • 5,294
  • 1
  • 28
  • 36
  • 3
    You're saying a browser will never time out if the server doesn't tell it to? – hexacyanide Mar 02 '13 at 19:33
  • That's correct: 408 Request Timeout The server timed out waiting for the request.[2] According to W3 HTTP specifications: "The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time." http://en.wikipedia.org/wiki/List_of_HTTP_status_codes – howderek Mar 02 '13 at 19:34
  • 2
    browsers have timeouts but they are usually much higher than the server timeouts for example IE is around 2m and so is Firefox – gmaliar Mar 02 '13 at 19:35