Hi,

1) this could be an option. Do you really thing that they are parsing
for the word "ActiveX" or are they parsing the JavaScript?

2) I'm note sure what is faster if I parse a string with JavaScript or
use the native support of JSON in any web browser (I think the second
on will be faster, maybe). The reason why I use it is that it supports
the "new" command, that I use i.e. for DataSets or the Date object. I
currently see that there is much discussion about using a JSON parser
or using the eval command. I'm still in talk with some other
developers to see what is better.

Regards,
Michael





On 5/30/06, jack0fshad0ws <[EMAIL PROTECTED]> wrote:
>
> Hi, i'm using ajaxpro v.5.11.4.2 (asp.net 1.1) on few websites and
> recently got several users that couldn't use ajax calls at all. all
> users were corporate users accessing the internate via a proxy server
> and none of users in those organisation could use the ajax.
> Appears that some filtering proxies (and antivirus software) checks for
> words "ActiveX" and removes those parts of script. In case of ajaxpro
> in core.ashx line 221 "xmlHttp = new ActiveXObject(clsid);" when i
> replaced it (on the test site) with
> xmlHttp = eval("new Active" + "X" + "Object(" + clsid + ")"); it worked
> fine for all those users.
> I'd like to make 2 suggestions
> 1. replace xmlHttp = ActiveX as above or may be find another solutions
> without using keyword ActiveX
> 2. line 412 core.ashx eval("r.value = " + responseText + ";");, would
> it be faster and more robust have r.value = responseText.parseJSON();
> * http://www.json.org/js.html
>
> Thanks
>  - Pavel
>
>
> >
>


-- 
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to