function AjaxRequest() { var request = null; if(typeof window.XMLHttpRequest != "undefined") {/*most modern browsers*/ request = new XMLHttpRequest(); } else if(typeof window.ActiveXObject != "undefined") {/*IE 6 browswer*/ try { request = new ActiveXObject("Microsoft.XMLHTTP"); } catch(err) { request = null; } } return request; }
Sharing the unusual problems and solutions while developing applications using .Net. and AWS