Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / April 2004



Tip: Looking for answers? Try searching our database.

no callback on Status

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thedanster - 15 Apr 2004 20:54 GMT
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...');
}
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.