![]() |
| ||
| Problem with responseText in Safari, Chrome and IE I have problem with the responseText property in Safari, Google Chrome and IE. Line 68 - the responseText is empty. This works fine in Firefox and Opera. Also i have this problem with the responseText only in the block that starts at line 61. I don't have problem with the responseText in other places in the source code. Please try to understand the last three sentences,i'm saying that because there are many people that reads only the first sentence and gives some absolutelly useless answer. Ok,i'll say it again anyway - this works fine in Firefox and Opera - the responseText has some value so everything is fine, but it doesn't have value(it's empty) in Safari, Chrome and IE. I don't see problem with my code,what's wrong? Here is the code. |
| ||
| Re: Problem with responseText in Safari, Chrome and IE That code is a big mess; just to confirm whether this is a problem with your code or responseText on IE strip all the fluff and create a bare minimum snippet which just sends a single parameter and receives some random response in responseText. If it still doesn't work, post the minimized code [without your application logic] along with which version of IE/Chrome you are having problems with. |
| ||
| Re: Problem with responseText in Safari, Chrome and IE Hi! Looks like I'm running into similar problem the previous poster had run into.. I am receiving an empty response when calling a web method using asp.net in Chrome but not IE nor FF. I get this behavior using the ASP PageMethod.func as well as using jquery ajax call. I can 'fix' the symptom by adding a delay sleep call on the server which makes me believe code is just plain wrong somewhere. I have the webkit fix so that Chrome is using webkit (see first line of log). I have created a near minimal test case. The log of pressing each button from left to right is shown. Basically with out a sleep call on the server the load fails > 95% of the time. With a sleep(0) call its 50% and with a large sleep 1 sec it rarely (if ever?) fails. If I remove the sleep and turn on Fiddler it never fails. Something like the response not getting flushed?? Is there something obviously wrong with the test case or is this a bug. Thanks!! Chris Log: 0: Sys.Browser: [object Object], 530.5, WebKit Page Code: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AjaxTest.aspx.cs" Inherits="PA.AjaxTest" %> Server Code using System; |
| All times are GMT -4. The time now is 12:38 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC