Re: Question about cross-domain support

  •  02-18-2008, 9:55 AM

    Re: Question about cross-domain support

    greggcz:
    greggcz:
    After further investigation, I found that the crossdomain script is calling a wrong url:
     
       22         False    +4.040 s             0.079 s      GET     200     428       text/html                 http://cutesoft.net/CuteSoft_Client/CuteChat/SupportCustomerHandler.ashx?_temp=1203114378165&Type=VISIT&Referrer=                                                                                                                                                                                                                                                                             
       23         False    +14.133 s            0.110 s      GET     200     428       text/html                 http://cutesoft.net/CuteSoft_Client/CuteChat/SupportCustomerHandler.ashx?_temp=1203114388258&Type=VISIT&Referrer=                                                                                                                                                                                                                                                                             
       24         False    +24.258 s            0.046 s      GET     200     428       text/html                 http://cutesoft.net/CuteSoft_Client/CuteChat/SupportCustomerHandler.ashx?_temp=1203114398367&Type=VISIT&Referrer=   
     
     
    Sounds like a minor bug ?


    Please ignore the post above, this was another tab doing it. 
     
    I found a problem though. 

    "_chat_script.src=url;" only works correctly in IE 


    Here's a replacement that will work in all browsers:

        var _new_script = document.createElement('SCRIPT');
        _new_script.id = _chat_scriptid;
        _new_script.src = url;
        _chat_script.parentNode.replaceChild(_new_script,_chat_script);
     
     
    More info about this here: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-May/011569.html

    -Gregg
     
    Gregg,
     
    Thanks a lot for the information. We are reading the article now.  We will get back to you as soon as possible.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread