Home
 

Customer Support

Search for keywords:

Browse by category:

My POST to a secure form results in a blank page, the same form, or a 500 Internal Server Error.

This might happen to you if you are using the Microsoft Internet Explorer browser version 6.x that has a buggy Service Pack applied to it through Windows Update. The buggy patch to IE causes the browser to intermittently send no POST data when posting to a form that is encrypted with SSL.

You can tell if your Internet Explorer browser has the bad update on it by clicking Help, About Internet Explorer from the top menu:



and then looking for patch number Q832894 in the patch list:



If you find that patch, which is the one that causes Internet Explorer to be broken when communicating with secure forms, then you need to get the next patch mentioned in this Microsoft Knowledge Base article that patches the broken patch. The article identifier is KB831167 if you need to search for it in the Microsoft archives.

The solution to the problem is to download the patch file named Q831167.exe, save it to your Desktop, then doubleclick the file to run it. Running the file will install the patch and prompt you to restart your computer. After you reboot your computer, you should see that patch in the list of patches when you look at About Internet Explorer:



The knowledge base article at Microsoft also offers editting your registry as an alternative to downloading the patch. You should never edit your registry unless you know what you are doing, and editting the registry is not necessary if you have downloaded and installed the above Q831167 patch.

At the time of this writing, February 26, 2004, patch Q832894 (the bad one) is applied automatically through the Windows Update. However, patch Q831167 (the good one) that fixes the intermittent empty post problem, is not available through Windows Update and must be searched for manually by Internet Explorer users.

No other browsers (Mozilla, Netscape, Firefox, Galleon, etc) experience this empty POST problem. It only occurs with Internet Explorer 6 browsers that have Q832894 without Q831167.

The problem has nothing do do with Apache, PHP, or any cgi script and cannot be fixed with any script programming. This problem can only be fixed by the site visitor fixing their browser.

User-Contributed Notes

add a note
04-Mar-2004 01:45
My SSL bank site kept either timing out or telling me I had clicked the
back button on my browser, i am using AOL browser, patch 831167 sorted
it.

11-Mar-2004 17:08
From a post at
http://www.mail-archive.com/discuss-list@opensrs.org/msg24118.html 
a reported server-side fix is to put this line in a file named .htaccess
that is located in the same directory as, or above the directory where
you are serving pages:

      SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0

That statement would go all on 1 line, even though it may appear to wrap
on multiple lines in this note.

12-Mar-2004 08:38
Microsoft have just released this months patches on Windows Update, but
have not released Q831167 yet, so machines that patch only from Windows
Update will still be flawed.

21-Mar-2004 09:17
The .htaccess fix didn't work for us.  We're on SunOS at your-site.com. 
As far as I know, we're not on a secure site, either.  I'm just posting
plain-old HTML form data to a PHP page.  I have it stripped down to bare
essentials, and still get the problem about 50% of the time.  Removing
the offending MS Security patch does fix the problem, as does applying
the patch-fix patch.  It's incredibly galling that MS has not called
this a critical problem and pushed the patch out to users.  

28-Mar-2004 14:33
"Empty Content-Length on POST from Internet Explorer"
http://telanis.cns.ualberta.ca/

user -at- example.com
06-Dec-2004 04:23
This bug is still present in the newest build of Internet Explorer (With
Service Pack 2, as of the date of writing). This time the bug appears
when the submitting form contains a file upload. 
A normal post without encoded data doesn't result in the display of an
empty page.
The problem can be fixed by applying the NoKeepAlive setting to Apache
for SSL connections.

kevin -at- zhimproductions.com
09-May-2006 11:19
And As of 5-9-06, with the most recent IE updates, it\'s still broken...
 Go IE!!

My specific issue was that uploading files behind ssl in Internet
Explorer would first display a blank page, upload the file, then return
my response \"thank you\" page.   I think the orginal problem was that
IE would post <nothing> to the server -- My hunch is that the \"quick
fix\" for the developers of IE was to simply send the post again after
the \"broken\" post.  So you get the non-post headers, a blank page is
returned, then the browser reposts to correct the problem.  Needless to
say, users think the upload broke as soon as they hit the blank page. 
Thanks a lot, Microsoft!

This fixed it:
In apache\'s httpd.conf file, find: 

# The following directives modify normal HTTP response behavior to
# handle known problems with browser implementations.
#
BrowserMatch \"Mozilla/2\" nokeepalive
BrowserMatch \"MSIE 4\\.0b2;\" nokeepalive downgrade-1.0
force-response-1.0
BrowserMatch \"RealPlayer 4\\.0\" force-response-1.0
BrowserMatch \"Java/1\\.0\" force-response-1.0
BrowserMatch \"JDK/1\\.0\" force-response-1.0

(occurs around line 950 or so in my file)
Add the line:

SetEnvIf User-Agent \".*MSIE.*\" nokeepalive ssl-unclean-shutdown

You must have mod_setenvif enabled in apache for this to work.

anonymous -at- example.com
14-Nov-2006 21:16
We are having this same problem.

The caveat with setting the keepalive off is that all web pages generate
huge connection counts and impact on web server performance.

There must be a better way around this.

I can't believe that MS has been ignoring this for 4 years now...

anonymous -at- example.com
30-Apr-2007 04:35
This problem can also appear if you are using IIS with client
certificates. See this article for how to resolve this:

http://tinyurl.com/ynnzqh 

add a note

Related Questions:


Can I have a crontab?

Why does your service seem slow?

How do I do a traceroute to diagnose network problems?

Internet Explorer shows a blank page on an SSL website like the Control Panel or signup page.

How do I get a command prompt on my own computer?

After I install Bugzilla, I get error 403 Forbidden.

How do I install Gallery?

I am having trouble installing phpBB2

Where can I find links to 'Standards-Compliant' Web browsers?

Do you provide CVS?

How do I use a robots.txt file?

Can I use streaming media on my site?

Do you support Flash, Shockwave, Java Applets?

I installed Norton Internet Security, and now I can't see video and other multimedia.

How do I use MnogoSearch Indexer?

Do you run Linux?

Can I use a blog or other content management system?

Do you have Postgres?

Why doesn't mivascript interpret GET variables?

How do I contact my registrar?

What does everything in a Wusage report mean?

Whenever I make changes with Movable Type I get SBOX errors.

Are there any resources for dealing with comment spam in a Movable Type blog?

How Do I Add A Google Sitemap To My Website?

Do you provide SVN?

What can I do to improve Drupal's loading speed?

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Tiny Modwest Logo         Copyright 2000-2008 by Modwest, Inc.          About Us    |    Blog    |    Jobs    |    Web Design    |    Contact Us