What is the maximum number of HTTP redirects allowed by all major browsers?

I am designing a website distributed on many servers, and there are pages where I need to bring up to four redirects in a row. I tried several browsers (firefox, chrome, IE) and it seems to work fine.

Apparently, the default limit for Firefox is 20 redirects per line, the default for Chrome is 20 by default, and the IE8 limit is 10 redirects.

What is the maximum number of HTTP redirects allowed by all major browsers? Is it 10?

Edit

Why do I need 4 redirects? Basically, the user is in a "hot spot", she is trying to go (say) google.com, there is a local involuntary portal that captures the request and redirects (# 1) the user to the local server. The local server checks some things about the user, but if he does not have local data, he redirects the user (# 2) to the central website. If the user is already registered on this central website, it is redirected (# 3) to another server (there are different portals depending on the user). Finally, the server checks the user’s rights, and if it has the appropriate rights, there is a final (# 4) redirection to the local access controller in order to gain access to the corresponding service. Believe me, I tried my best to remove redirects, but I cannot figure out where this can be optimized.

+8
source share
1 answer

4 redirects should work in all major browsers. However, consider reducing the number to give users a faster experience. For each redirection, a two-way journey between the user and the server is required (and a new connection is required if it is redirected to another server). In general, the delay will be significant, which is likely to annoy your users.

+6
source

All Articles