You’ll need to insert your own timer to see if the service call has returned and if it hasn’t raise your own error and cancel the pending service request.  I think some other folks might have written code for this, search for timeout in the archives.

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jesus Salvador Ramos Cardona
Sent: Thursday, January 05, 2006 4:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to detect when server is down?

 

Hi all,

 

Is there any way in which we can detect when Flex server is down, so that the flex user interface can display some kind of message?

 

My app refreshes every 3 minutes, and, when we suddenly shut down the server, the user interface remains on the browser screen. This causes the little watch mouse pointer to go around and around as if it was expecting the return from the service that refreshes, but as there will not be any, I wish to notify the user of this failure.

 

Thanks.

 

J.

 

Jesús Ramos Cardona
Desarrollo de Sistemas de Casa de Bolsa

[EMAIL PROTECTED]

+52 (55) 51 74 22 22 ext. 1250

Ixe Grupo Financiero

Este correo electrónico y sus anexos pueden contener información CONFIDENCIAL para uso exclusivo de su destinatario. Si ha recibido este correo por error, por favor, notifíquelo al remitente y bórrelo de su sistema. Muchas gracias. Las opiniones expresadas en este correo son las de su autor y no son necesariamente compartidas o apoyadas por la compañía. Ixe Grupo Financiero no asume aquí obligaciones ni se responsabiliza del contenido de este correo, a menos que dicha información sea confirmada por escrito por un representante autorizado. No se garantiza que la transmisión de este correo sea segura o libre de errores, podría haber sido viciada, perdida, destruida, haber llegado tarde, de forma incompleta o contener VIRUS.

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to