24 Apr 2009 11:08 AM #221
IE6 and IE7
IE6 and IE7
Thank you for building and supporting the basex. I am finding the
24 Apr 2009 11:25 AM #222
EDIT: Not sure much of this applies to your usage, but:
An HTTP redirection, whether executed by the Web browser or XMLHttpRequest, can be executed only if the redirection follows the same origin policy. If a redirection to another domain is attempted with XMLHttpRequest, the results vary. For example, Microsoft Internet Explorer returns a status code of 0 and no further data. Mozilla-based browsers return the status code 302 and the redirected URL.
Although using HTTP redirection can be effective, it can also be problematic from an Ajax perspective. When using the XMLHttpRequest object and calling a URL that generates a redirection, the redirected URL will be loaded automatically. This is bad because the script needs to know what the redirected URL is, but the XMLHttpRequest object doesn’t give that URL.
27 Apr 2009 9:50 AM #223
All my redirects within the same domain. Basically the server sends a redirect to login page when it detects session timeout. Ext/JS based AJAX handling need to detect this condition and let the redirect be effective.
As you suspect, I think IE is not allowing the 302 to bubble up to the ext layer. Since catching 302 is not working, I have devised crude way of looking in the response text for eye catchers to detect if a redirect has occurred.
Thanks for your prompt help.
17 May 2009 9:40 AM #224
Ext 3.0 rc1
Ext 3.0 rc1
I tried use basex with ext 3 and found the error:
this.headers is undefined
line 546: var cType = this.headers['Content-Type'] || null;
the same script with Ext 2.1 works well
18 May 2009 5:52 AM #225
18 May 2009 12:50 PM #226
I grabbed the latest SVN code but I am still getting this error:
this.defaultHeaders is undefined
There appear to be several other issues with the new Ext 3.0 library that impact your extension.
* function initHeader is undefined - line 846
* function setHeader is undefined - line 852
* function handleReadyState is undefined - line 857
Are you aware of these?
18 May 2009 1:23 PM #227
18 May 2009 4:00 PM #228
19 May 2009 7:02 AM #229
SVN again. I [think] its all covered now.
19 May 2009 7:19 PM #230