AJAX Forums

AJax code is working in india but bot working in Germany

This is a discussion on AJax code is working in india but bot working in Germany within the AJAX Ideas forums, part of the General category; Hi, this is very urgent post, i am using below code in my apps and this is working fine in india but when same code put in client system i....


Go Back   AJAX Forums > General > AJAX Ideas

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 04-25-2008, 05:05 AM   #1 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 1
Rep Power: 0 nirajkg04 is on a distinguished road
AJax code is working in india but bot working in Germany

Hi,

this is very urgent post, i am using below code in my apps and this is working fine in india but when same code put in client system i.e Germany not working any clue is this code is browser locale or etc.

// Logout code start
var xmlObj = false;
var url="http:www.guruji.com/CentralLogout";

function logoutReload()
{
if(!url || url.length==0){
alert('Logout URL not set!');
return false;
}
xmlObj = false;
if (typeof XMLHttpRequest != "undefined") { // Mozilla, Safari,...
xmlObj = new XMLHttpRequest();
} else if (typeof window.ActiveXObject) { // IE
try {
xmlObj = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlObj = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {document.location = url;}
}
}
if (!xmlObj) {
alert("Cannot create XMLHTTP instance");
return false;
}
try{
xmlObj.onreadystatechange = stateChanged;
xmlObj.open("POST",url,true);
xmlObj.send(url);
}catch(e){
alert(e+":"+"Unable to post the request");
}
}
function stateChanged()
{
if (xmlObj.readyState==4){
document.location = document.location;
}
}
// Logout code end

thx
nirajkg04 is offline   Reply With Quote
Old 06-10-2008, 08:17 AM   #2 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 1
Rep Power: 0 ukocfan is on a distinguished road
have you checked that the server is capable of using XMLDOM
ukocfan is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX Jobs : * NEED 400 FRESH WORKING USA BASED PROXIES - TESTED AND WORKING *** by ms admin AJAX Freelance Jobs 0 09-08-2008 11:04 AM
AJAX Jobs : Working website enhancements by payal101 admin AJAX Freelance Jobs 0 09-02-2008 07:17 AM
Working with the Google AJAX Feed API microbee AJAX Help 0 01-10-2008 02:26 PM
AJAX World - Top Ten Tips for Working with Cairngorm microbee AJAX Help 0 10-09-2007 03:20 PM
javascript isn't working...? bgarnik JavaScript 4 06-26-2007 02:53 AM


All times are GMT -4. The time now is 08:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com