occasionally useful ruby, ubuntu, etc

5Sep/090

IE + AJAX + Redirects

So we made an interesting discovery these past days...IE handles some redirects in AJAX really, really badly.

This table explains:

Redirect URL
To itself To another page
FF Redirect 18-20 times Didn't test
IE Redirect until you close the browser Redirect 10 times

(By "redirect to itself" I mean you have some bug in your logic such that page http://example.com/?page=1 will redirect to itself indefinitely.)

Do you like that "redirect until you close the browser" one? Even if you go to a completely different site, the browser will still be making requests to yours.

Moral of the story: be very careful with redirects with AJAX.

Filed under: internet Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.