javascript - Request fails from my web application when refreshing the Browser (Firefox). When starting new tab this issue do not happen -


my application make request .dll , set extension. [my application call control application. operations achieved, make call extension,set extension, etc using request dll(c++)]

my issue is, make request application using javascript dll follows http://192.168.xx.xx/iq/vpwebext.dll?action=getext&ext=5042&redirect=no&now=1397018694640

i xml response when load application in new tab. when reload page, if application try set extension using above mentioned request, not return xml response.

below piece of code in web app makes request. status code "0" , httpobj.responsetext empty.

var httpobj; var xmlhttp; if (window.activexobject) { httpobj = new activexobject("microsoft.xmlhttp"); } else { httpobj = new xmlhttprequest(); }  httpobj.open("get", httpurl, false); httpobj.send(); if ( httpobj.status == 200 ) { httpresult = httpresult + httpobj.responsetext; } else { alertappconsole("httpobj.status = " + httpobj.status); }  

this issue happens in "firefox". in other browsers ie or chrome tested don't face issue.

also need mention, when deploy in local machine(win 7, iis 7.5) issue not happen @ all.

when deploy in client machine (windows server 2008 r2, iis 7.5) issue occurs.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -