Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
cancelling callServer Request after Timeout
System
I am not able to cancel my callServer request after timeout.
But my timeout function is called properly.
//here I am calling the server
// Make an HTTP GET to the server.
timeout1 = setTimeout("callServerFailed()", 60000);//Timeout after 60seconds
top.hiddenFrameRunning = true;
IWDatacapture.callServer("/iw-bin/setSelectionOptions.cgi", parameters, true);
}
function callServerFailed() {
//This alert shows up
alert("Options Could not be set for Title Field. Call to Server Timed Out");
// Abort the request by sending a blank page to the hidden frame.
var param = new new Object();
IWDatacapture.callServer("blank.html", param, true);
}
##############
here is my CGI
###############
use strict;
use CGI ;
#Sleep for longtime
sleep 120 ;
....
....
Find more posts tagged with
Comments
There are no comments yet