<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps</title>
    <link>https://forums.adobe.com/community/coldfusion/coldfusion_flash_integration?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sat, 13 Oct 2012 16:44:03 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2012-10-13T16:44:03Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps</title>
      <link>https://forums.adobe.com/message/4771675?tstart=0#4771675</link>
      <description>&lt;!-- [DocumentBodyStart:afccf292-7023-4b66-860e-6ecb54700306] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;For our profect I think this issue was caused as follows:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;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. &lt;/p&gt;&lt;p&gt;This seemed to trigger the duplicate http session error since according to &lt;a class="jive-link-external-small" href="http://blogs.adobe.com/lin/2011/05/duplication-session-error.html" rel="nofollow"&gt;http://blogs.adobe.com/lin/2011/05/duplication-session-error.html&lt;/a&gt;&amp;nbsp; two remote calls arriving before a session is created will cause 2 sessions to be created.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .&lt;/p&gt;&lt;p&gt;Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )&amp;nbsp; caused the error when activated after a few hours.&lt;/p&gt;&lt;p&gt;I guess the session expires on the server and the error above occurs on activation.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour. &lt;/p&gt;&lt;p&gt;All duplicate http errors are silently caught and reported.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Fingers crossed we won't get any more!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:afccf292-7023-4b66-860e-6ecb54700306] --&gt;&lt;img src='/beacon?t=1415918270262' /&gt;</description>
      <pubDate>Sat, 13 Oct 2012 16:44:03 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4771675?tstart=0#4771675</guid>
      <dc:date>2012-10-13T16:44:03Z</dc:date>
      <clearspace:dateToText>2 years 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps</title>
      <link>https://forums.adobe.com/message/4771166?tstart=0#4771166</link>
      <description>&lt;!-- [DocumentBodyStart:80508db1-6d9c-4ec2-8c83-b8bc6dfdc300] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;I enabled session management for the CFCs in Application.cfc&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;What are the values of sessionTimeout and applicationTimeout? Do you rewrite the session anywhere, for example, using structDelete or structClear? Any cfcookie code, too?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:80508db1-6d9c-4ec2-8c83-b8bc6dfdc300] --&gt;</description>
      <pubDate>Sat, 13 Oct 2012 09:08:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4771166?tstart=0#4771166</guid>
      <dc:date>2012-10-13T09:08:32Z</dc:date>
      <clearspace:dateToText>2 years 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Detected duplicate HTTP-based FlexSessions in CF10 with Air Mobile (3.4) IOS and Android apps</title>
      <link>https://forums.adobe.com/message/4745448?tstart=0#4745448</link>
      <description>&lt;!-- [DocumentBodyStart:92da9fc4-c47e-4284-9c2d-6063dd8eccbe] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #ff0000;"&gt;faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #ff0000;"&gt; generally due to the remote host disabling session cookies. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #ff0000;"&gt;Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Have read most of the docs about this error -all to do with LCDS&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Notes:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Not using LCDS, &lt;/li&gt;&lt;li&gt;No Remote Calls from loaded Sub-Apps,&amp;nbsp; &lt;/li&gt;&lt;li&gt;No Errors from the Flex Web App which is pretty&amp;nbsp; much identical and calls the same cfcs.&lt;/li&gt;&lt;li&gt;The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.&lt;/li&gt;&lt;li&gt;Could it be a two first time remote calls hitting the server together before a session is set up?&lt;/li&gt;&lt;li&gt;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.&lt;/li&gt;&lt;li&gt;I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?&lt;/li&gt;&lt;li&gt;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?&lt;/li&gt;&lt;/ul&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please advise thank you.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:92da9fc4-c47e-4284-9c2d-6063dd8eccbe] --&gt;</description>
      <pubDate>Wed, 03 Oct 2012 11:13:53 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4745448?tstart=0#4745448</guid>
      <dc:date>2012-10-03T11:13:53Z</dc:date>
      <clearspace:dateToText>2 years 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

