# Sporadic IE hang on AJAX reponse handling

**URL:** <https://www.ruby-forum.com/t/sporadic-ie-hang-on-ajax-reponse-handling/106934>\
**Category:** Rails\
**Created:** [June 15, 2007, 1:53pm UTC](https://www.ruby-forum.com/t/sporadic-ie-hang-on-ajax-reponse-handling/106934 "2007-06-15T13:53:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![morten](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/cdc98d/32.png) [@morten](https://www.ruby-forum.com/u/morten)\
**Post date:** [June 15, 2007, 1:53pm UTC](https://www.ruby-forum.com/t/sporadic-ie-hang-on-ajax-reponse-handling/106934/1 "2007-06-15T13:53:43Z")

</div>

Hi. I’m running a questionaire with 90 questions and it usually works  
fine. Some times though, IE hangs as if it never gets a response.

As far as I can see in the log, the response gets committed fine from  
Rails:

Processing ProfilesController#answer (for 212.242.187.48 at 2007-06-15  
10:58:05) [POST]  
Session ID: db915eb19a676d8459cb0bc9284c96a4  
Parameters: {“reply”=\>{“work\_area\_id”=\>“17”, “question\_id”=\>“51”,  
“current”=\>“2”, “category\_id”=\>“3”, “base”=\>“null”},  
“action”=\>“answer”, “controller”=\>“profiles”}  
Completed in 0.04024 (24 reqs/sec) | Rendering: 0.01693 (42%) | DB:  
0.00423 (10%) | 200 OK [[https://host.com/profiles/answer](https://host.com/profiles/answer)]

But nothing happens on the client side (on occasion only). Any tips on  
troubleshooting?

The submit has some error handling which doesn’t get triggered:

\<% form\_remote\_tag :url =\> form\_action, :loading =\> “$(‘question-  
text’).innerHTML=‘\<img src="/images/ajax\_fan.gif?1234"/\>’”, :failure  
=\> “alert(‘Error on submit’)”, :html =\> { :id =\> “profile\_form” } do  
%\>

Thanks

Morten
