-
1. Re: Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps
BKBK Oct 13, 2012 2:08 AM (in response to Ged_mc)I enabled session management for the CFCs in Application.cfc
What are the values of sessionTimeout and applicationTimeout? Do you rewrite the session anywhere, for example, using structDelete or structClear? Any cfcookie code, too?
-
2. Re: Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps
Ged_mc Oct 13, 2012 9:44 AM (in response to BKBK)For our profect I think this issue was caused as follows:
Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html two remote calls arriving before a session is created will cause 2 sessions to be created.
Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! ) caused the error when activated after a few hours.
I guess the session expires on the server and the error above occurs on activation.
So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
All duplicate http errors are silently caught and reported.
Fingers crossed we won't get any more!

