0 Replies Latest reply on Oct 6, 2012 8:56 AM by Ged_mc

    Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    Ged_mc Level 1

      We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.

       

      faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,

      generally due to the remote host disabling session cookies.

      Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'

       

      Have read most of the docs about this error -all to do with LCDS

       

      Notes:

       

      • Not using LCDS,
      • No Remote Calls from loaded Sub-Apps,
      • No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
      • The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
      • Could it be a two first time remote calls hitting the server together before a session is set up?
      • Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
      • I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
      • Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?

       

      Please advise thank you.