3 Replies Latest reply: Feb 8, 2012 5:57 AM by Ashish Vashisht RSS

    dataservice call fault error after session timeout does not get trapped in the fault handler

    betheflexcoder Community Member

      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.