title: One Flex client connecting to two webapps using BlazeDS - Detected duplicate HTTP-based FlexSessions
body: <p>I have a flex application that communicates via BlazeDS with two webapps running inside a single instance of Tomcat.</p>
  
  <p>The flex client is loaded by the browser from the first webapp and all is well. However on the initial call to the second webapp the client receives the following error:</p>
  
  <p><code>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.</code></p>
  
  <p>Subsequent calls to the same service method succeed.</p>
  
  <p>I've seen a few posts around referring to the same error in the context of two flex apps calling a single webapp from the same browser page, but nothing which seems to help my situation - so I'd be very grateful if anyone could help out....</p>
  
  <p>Cheers, Mark</p>