I have a simple cfc function that is to return an "OK" if the cf server is up
and data available. If I have a checkStatus_Result return, everything works
fine. If there is a status(as I can see using the netConnection debugger), The
callback function checkStatus_Status does not get called. Why would this
occur? I am trying to determine what would happen if the CF server is not
accessible. If the CF server is not responding, does a "Status" get returned?
Thanks for any help.
DAN
RusD - 21 Apr 2004 11:50 GMT
checkStatus_Status will be called if any error, for example, if function you
tyring to call, not exists in current service.
You can also use connection onStatus to catch errors with calling 'getService'
var myServer = NetServices.createGatewayConnection();
myServer.onStatus = function(info){
trace('myServer onStatus...');
}