Hi all,
I'm running into a problem posting data to a Win2K/IIS5 server using IE 5.01 and IE 5.5.
When I post over 1000 bytes of data, the post occurs twice (according to packet captures) and the browser goes straight to a "Page Cannot Be Displayed" error. If I modify the forms to reduce the size of the post, everything works fine (for example, I have a success case at 951 bytes and a failure case at 1069). In a success scenario, the post is followed by several GETs resulting from the page data sent at the POST's conclusion. In the failure scenario, no GETs are executed.
The post is being handled by a servlet that then shunts the data to a SQL db. The post is concluded by having the server send back the next page automatically.
I've tried using both Sun JRE 1.2 and 1.3. Also, I cannot duplicate the problem with the same code/servlet setup on an NT4/IIS4 server. If connecting to the server 'in-house', I can only get the error to occur using
a Win98 client, but if I connect from an external location, I see the error using Win2K and NT4 clients, as well - unless I'm using a proxy server, in which case the error never happens. Also, if I set IE caching to "Check for
newer versions of stored pages: Every visit to the page", the error does not occur. I've already modified the headers to expire yesterday, -1 and also used the pragma no-cache deal. None of it worked.
Netscape, on all platforms, does not have a problem.
I have also tried changing the enctype to multipart/form-data, but that didn't make a difference.
Any ideas/tips are greatly welcome. This problem has been bugging me for over a month now.
I'm running into a problem posting data to a Win2K/IIS5 server using IE 5.01 and IE 5.5.
When I post over 1000 bytes of data, the post occurs twice (according to packet captures) and the browser goes straight to a "Page Cannot Be Displayed" error. If I modify the forms to reduce the size of the post, everything works fine (for example, I have a success case at 951 bytes and a failure case at 1069). In a success scenario, the post is followed by several GETs resulting from the page data sent at the POST's conclusion. In the failure scenario, no GETs are executed.
The post is being handled by a servlet that then shunts the data to a SQL db. The post is concluded by having the server send back the next page automatically.
I've tried using both Sun JRE 1.2 and 1.3. Also, I cannot duplicate the problem with the same code/servlet setup on an NT4/IIS4 server. If connecting to the server 'in-house', I can only get the error to occur using
a Win98 client, but if I connect from an external location, I see the error using Win2K and NT4 clients, as well - unless I'm using a proxy server, in which case the error never happens. Also, if I set IE caching to "Check for
newer versions of stored pages: Every visit to the page", the error does not occur. I've already modified the headers to expire yesterday, -1 and also used the pragma no-cache deal. None of it worked.
Netscape, on all platforms, does not have a problem.
I have also tried changing the enctype to multipart/form-data, but that didn't make a difference.
Any ideas/tips are greatly welcome. This problem has been bugging me for over a month now.