Consider the following code:

<form action="whatever" method="POST">
<input type="hidden" name="foo" value="a very long string" />
<input type="checkbox" name="confirm" />
<input type="submit" />

In Internet Explorer (confirmed in both 6 and 7) submitting this form with the checkbox ticked results in no response from the server. (Submitting it without the checkbox ticked just brings you back to where you started.) No problem at all in Gecko-spawn or Opera.

Anyone seen anything like that before? And better still, got a solution?

No Comments

  1. Ellis says:

    How right you are….no word on workaround?

  2. dazang says:

    yes, I have the same problem with my scripts. After googling a bit I found that this has been an issue with IE that the IE developers have not fixed intentionally because of their POST methodology. It sucks big time having to code special things for IE because it is non-compliant of any standard.

    No luck yet…

  3. Steve Pugh says:

    To add a bit more information:

    We discovered that IE was sending the original POST okay, but as we were redirecting the reponse to that POST, it was that redirect which IE was not carrying out. So in our case it’s a combination of the very long data and the redirect. The solution, IIRC, was to substantially rewrite parts of two complex systems so that the redirect could be avoided. 🙁

  4. Rohit says:

    Do we any workaround for this?

    I am facing problem with POST on IE7 and occasionally on IE8.

    • Steve Pugh says:

      The workaround for the particular problem I had was to completely rewrite the system to work in a different way, eliminating both the very large amount of data being submitted and the redirect upon submission.

Leave a Comment

(will not be published unless you behave like a spammer or a troll)