I have a similar problem where if the gateway is down, there doesn't seem to be
any way to directly find out.
If the gateway is up, then any errors that occur (application errors or comms
errors) are reported to the status function / status responder. However I can't
trap an event indicating the gateway is down. Can anyone help?
The workaround I have is to use a timeout movie clip. I have a movie clip that
loops for around 10 seconds waiting for a flag to be set. The movie clip is
added to the timeline when the connection attempt is made. The flag is set when
either a response or a status method is called by Remoting. Therefore, if I
don't get any response to either a status or a response method for 10 seconds,
the flag is still clear and the movie clip informs the user that the connection
could not be made. There must be a cleaner way than this????
daveluff - 04 Oct 2005 13:09 GMT
yes there must be a way.
I get the problem where user clicks a function which calls a function within a
cfc.
But sometyimes they can do this before a gateway connection has been
established.
And it appears buggy.