Hi,
My data service call after the session time out for about 30 mins, does not get trapped into the fault handler. It pops up a Flash player error on the AIR simulator. I have some code to handle for session timeout error in the faulthandler. My server returns an exception for session timeout. My server log shows that it returns the exception, but it does not return to fault handler, instead throws a fault error on the UI in form of popup. I am using RTMP channel with below configuration.
<channel-definition id="mobility-rtmp" class="mx.messaging.channels.RTMPChannel"> <endpoint url="rtmp://{server.name}:@flex.rtmp.port@" class="flex.messaging.endpoints.RTMPEndpoint"/> <properties> <idle-timeout-minutes>20</idle-timeout-minutes> </properties> </channel-definition>
<flex-client>
<timeout-minutes>5</timeout-minutes>
</flex-client>
Please let me know how I can handle this.
Thanks,
Swathi.