Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser Timeouts

Do browsers have built in timeouts and if so what are they?

I have a page that does an AJAX call on a process that takes at most 5 minutes to run. Someone said browsers timeout after 2 minutes but didn't know if there was any truth to that.

like image 846
Splashlin Avatar asked Apr 27 '11 02:04

Splashlin


People also ask

Why do browsers time out?

The timed-out error is usually due to no communication between your browser and the website you are trying to access. This is because either your browser cannot receive the data or the time it took crossed the timeout session and couldn't establish a connection.

How do I turn off browser timeout?

In UCMDB, go to Administration > Infrastructure Settings Manager > UCMDB Browser settings. In the Name column, choose Enable the Session Timeout. In the Value column, choose True or False (depending on whether you want to enable or disable the timeout) from the drop-down list . Click Save .

Does Chrome have a timeout setting?

Chrome: It is not possible to change the timeout settings in Chrome. IE: It's possible to change the timeout behavior in the windows registry. Safari: There is a safari extension SafariNoTimeout to extend the timeout from 60s to 10min.

How do I stop Chrome from timing out?

4 Answers. Show activity on this post. I know I'm coming late but the answer is in Chrome menu (the three stripes): Go to settings -> Show Advanced settings -> Privacy: uncheck the option that says 'Predict network actions to improve page load performance'. Hope that helps.


2 Answers

It's browser dependent. "By default, Internet Explorer has a KeepAliveTimeout value of one minute and an additional limiting factor (ServerInfoTimeout) of two minutes. Either setting can cause Internet Explorer to reset the socket." - from IE support http://support.microsoft.com/kb/813827

Firefox is around the same value I think as well.

Usually though server timeout are set lower than browser timeouts, but at least you can control that and set it higher.

You'd rather handle the timeout though, so that way you can act upon such an event. See this thread: How to detect timeout on an AJAX (XmlHttpRequest) call in the browser?

like image 82
haknick Avatar answered Sep 21 '22 05:09

haknick


You can see the default value in Chrome in this link

int64_t g_used_idle_socket_timeout_s = 300 // 5 minutes 

In Chrome, as far as I know, there isn't an easy way (as Firefox do) to change the timeout value.

like image 26
Kalamarico Avatar answered Sep 19 '22 05:09

Kalamarico