Groups | Blog | Home
all groups > asp.net > april 2006 >

asp.net : POST data truncated in Internet Explorer 6


Ian Lotinsky
4/29/2006 7:09:09 PM
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=3DUcDDLBusinessUnit1%3AddlBusinessUnit&__EVENTARGUMENT.......=
=3D&=ADViewQuestion2%3AddlStatusChangePR=3D4


Firefox:
__EVENTTARGET=3DUcDDLBusinessUnit1%3AddlBusinessUnit&__EVENTARGUMENT.......=
=3D&=ADViewQuestion2%3AddlStatusChangePR=3D4&UcDDLBusinessUnit1%3AddlBusine=
ssUnit=3D1


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.)=20

Thanks,=20

Ian
Ian Lotinsky
5/1/2006 6:50:20 PM
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.
AddThis Social Bookmark Button