POST data truncated in Internet Explorer 6

I

Ian Lotinsky

I had a really weird bug recently. I had a drop-down user control that
would not fire the onselectedchange event server-side. After nearly
twenty hours of debugging, I finally setup a local proxy (WebScarab,
which rocks by the way) and noticed that IE was deciding not to POST
the key/value pair for the event, but Firefox was.

I double- and triple-checked the XHTML, and the thing is valid. Here is

the post data, in summary:

IE6:
__EVENTTARGET=UcDDLBusinessUnit1%3AddlBusinessUnit&__EVENTARGUMENT.......=&­ViewQuestion2%3AddlStatusChangePR=4


Firefox:
__EVENTTARGET=UcDDLBusinessUnit1%3AddlBusinessUnit&__EVENTARGUMENT.......=&­ViewQuestion2%3AddlStatusChangePR=4&UcDDLBusinessUnit1%3AddlBusinessUnit=1


If I simply moved the user control up the page, the event started
firing server-side and the POST data Content-Length got longer (IE6
only).

Any thoughts? (For security reasons, I cannot publish the full POST
data or XHTML.)

Thanks,

Ian
 
I

Ian Lotinsky

After much more inspection it turned out that I did have a malformed
DOM. One of the other user controls had a "</FORM>" tag in it.
Interesting that Firefox ignored it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top