Hi again,

perhaps writing an e-Mail is enough. Shouldn't have sent it.

I see that IE6 with .NET works.

So I guess without the active X object is used. And I assume that it has
been disabled by those users 

(strangely enough those are random users who do not have a clue about their
PC. Is there any security software that does this?)

 

But one question remains: Can I detect this somehow and display an advice
page how to enable it?

.: Fabian

 

  _____  

From: Fabian Lange [mailto:[EMAIL PROTECTED] 
Sent: Montag, 31. Dezember 2007 22:52
To: 'prototype-core@googlegroups.com'
Subject: Problems with IE6 and Ajax.Request - How to debug "remote"

 

Hi guys,

happy new year. Either you had it or will have it. Or you have a calendar
which has today no new year :-)

Anyway I am trying to hunt an issue, which troubles me quite much.

The main issue with it is that I have no machine where it occurs.

 

I have an application that creates the request like that:

new Ajax.Request('/chat/get/'+ $F('cid'), {asynchronous:true,
evalScripts:false, requestHeaders: ['Accept','application/json',
'User-Agent','', 'Accept-Charset','utf-8', 'If-Modified-Since', 'Thu, 1 Jan
1970 00:00:00 GMT'], onSuccess:chat_update});

 

Its for a chat type application it requests everything that is newer than
what is in $F('cid').

Those user said that their window does not update. My first guess was that
as it was IE this is a caching issue. And they just don't receive new data
(typically the first request returns empty JSON). So I Played a bit around
with If Modified and so on.

But today I got the opportunity to interview one user and try something. I
was putting alerts to all callback hooks. And the user said that he did not
get any popups. Which leads me to the assumption that the Ajax request is
not executed at all.

I have access to two IE 6 which do work fine as expected. So now I am stuck.
I can only work on asumptions and really hardly try something out.

For me it sounds like this could be a bug in Prototype (the latest 1.6) with
that particular IE. 

That's why I am posting here. 

Either you know this and a fix for it or you can help me with ideas how to
troubleshoot it.

The browser identifies itself as:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 

and the other user:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

 

Ah in case you might think my javascript is buggy somewhere else. I put two
alerts. One before and one after the AjaxRequest. Both fired. So the issue
is really in this line.

 

Any help greatly appreciated.

.: Fabian

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to