Hi,

A customer has found a rather nasty edge case for errors with HippoCMS 6.05 in 
IE6. If the user clicks the browser 'back' button during document editing, they 
will eventually receive an error:

    HTTP Code 12030
    Server responded, 'Unknown'

The HTTP code is a special Microsoft 'extended' code (HTTP codes go up to 5xx); 
and is listed [1] as 

    ERROR_INTERNET_CONNECTION_ABORTED
    The connection with the server has been terminated.

It seems the problem is caused by IE6 not correctly terminating connections 
[2], and as a result the browser session is not usable until Windows closes the 
connection after 60 seconds.

To duplicate the error, connect to a Hippo CMS 6.05 instance using IE6. Log in, 
go to the "Documents" tab, open a folder, click on a document, select 'edit', 
wait for the editor to load, click the browser back button twice, click the 
"Documents" tab, and click on another folder.

I cannot duplicate this in Hippo CMS 6.04.xx, which I assume is due to the 
relevant Ajax code only being in 6.05.

>From [2] it looks like possible solutions include:

* retry the ajax request in case of error code 12030
* if the browser is IE, send an empty request to the server ahead of each ajax 
request
* bundle up your ajax requests such that the time between them is ( (greater 
than server_timeout) AND (less than server_timeout + one minute)

Maybe the back button could also be disabled, though this would likely require 
some ugly frames tricks.

[1] http://support.microsoft.com/default.aspx?scid=kb;EN-US;193625
[2] http://danweber.blogspot.com/2007/04/ie6-and-error-code-12030.html

Thanks,

Andrew.
-- 
Andrew Savory
Tel: +44 (0)870 741 6658  Fax: +44 (0)700 598 1135
Sourcesense - making sense of Open Source: http://www.sourcesense.com

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to