David
Mon Nov 21 18:08:11 CST 2005
I do not think this is a problem with IIS5 or IIS6. I created a HTML page
posting 700 fields in exactly the same fashion as your test, and it POST'd
just fine. I verified that the form variables actually got read. Only
difference is that I used my own ISAPI DLL as the ACTION to handle and echo
the request back.
So, I think the problem is either with:
1. Whatever .html is ScriptMapped to is not written correctly to handle
larger entity body
2. What ISAPI Filters are installed on the server. Some may be screwing up
larger request entity body
3. Is this over SSL or not. This can be problematic if SSL Renegotiated
certificates in the middle.
For #1 and #2, I have seen many ISAPIs and CGIs that assume a certain
read-ahead buffer and are never written to properly handle larger entity
body. Since I already have counterpoint to your proposal that there is some
limit, I am starting with the assumption that there is something wrong with
what you are using or running on IIS.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Alfredo" <Alfredo.Ospina@c-b.com> wrote in message
news:1132592325.414552.299050@f14g2000cwb.googlegroups.com...
Having trouble with long forms in IIS6 (and IIS5). I just tested IIS6
by creating a static HTML page with a large form (196 fields). Here is
the code:
<HTML>
<HEAD>
</HEAD>
<BODY>
FORM TEST<BR><BR>
<FORM METHOD=POST ACTION="formtest.html">
<INPUT TYPE="submit"><BR><BR>
<INPUT TYPE=text NAME="Field_0">
....
<INPUT TYPE=text NAME="Field_196">
</FORM>
</BODY>
</HTML>
Saved this on our IIS6 server as formtest.html and opened the page.
When I submitted it I got a CGI Timeout. If I cut back the fields to
say 190, it works (as long as I keep the fields empty. if I enter
enough lines of text, it CGI Timeouts as well).
IIS5 has the same issue, but it can handle 379 empty fields (submits
immediately) but not 380 empty fields (CGI Timeout after 5 minutes)
Need some help because many of our forms are longer than this.