Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is IE causing HTTP 500 responses from the LAMP server?
    text
    copied!<p>I have a cart system that uses (jQuery) AJAX to add a product to the cart, show the cart and update cart quantities.</p> <p>In IE (8/9) the response rate from the server is about 50%. 50% HTTP 200 OK and no problems, 50% HTTP 500 internal server error. The 500 response usually comes after some kind of timeout of about 15 seconds but not always. All other browsers have a 100% success rate so far.</p> <p>Access Log samples below (IE8 and IE9):</p> <pre><code>&lt;ip&gt; - &lt;user&gt; [13/May/2012:01:38:03 +1000] "POST /cart/process/cart.php HTTP/1.1" 500 - "&lt;domain&gt;/cart/process/cart.php?summaryOnly" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)" &lt;ip&gt; - &lt;user&gt; [13/May/2012:00:35:11 +1000] "POST /cart/process/cart.php HTTP/1.1" 500 - "&lt;domain&gt;/cart/process/cart.php?summaryOnly" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" </code></pre> <p>My assumption so far is that cookie usage (set/delete) is too large (or over the top) for IE and triggers some kind of security flag. That's my absolute best guess so far.</p> <p>The current setup is on a subdomain behind a .htaccess password prompt. The cart summary loads in a fancybox (JS) iFrame. Testing outside of the iFrame made no difference.</p> <p>I do not believe that the problem lies with the front end dev side but I am totally lost. The server team say in must be a browser issue.</p> <p>I hate IE. Anyone got any ideas?</p> <hr> <p>EDIT: I believe I am at least being able to reduce the issue occurring which may suggest a max cookie length issue. Cookies should be &lt; 2Kb or 4Kb/4096 in IE I believe. I also may have had this issue: <a href="http://adamyoung.net/IE-Blocking-iFrame-Cookies" rel="nofollow">http://adamyoung.net/IE-Blocking-iFrame-Cookies</a></p> <p>A similar issue suggesting 500 errors for long cookies here: <a href="http://datatables.net/forums/discussion/576/cookie-limit-long-cookie-fails/p1" rel="nofollow">http://datatables.net/forums/discussion/576/cookie-limit-long-cookie-fails/p1</a></p> <hr>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload