On 9 Feb 2009, at 20:42, Brian Culler wrote:


I am using a Flex based front end on top of a rails backend.  When the
SWF is first loaded from the rails app to the client's browser, a
session is created on the rails side.

However, subsequent requests from the loaded Flex app are also creating
whole new sessions as well.  I need the flex app's calls to continue
using the existing session.

So I am sending the flexapp the original session id, and am then
appending that session id into the params when it sends it back.  Is
there anything else you need to do besides inserting the specific
session id into the request params to get rails to use that session id
instead of making a new one?  If it makes a difference, this is a
multipart post from the flex app back to the rails server.


Reading the session_id from the params is turned off by default. Try setting the cookie_only option to false (and make sure that the session_key option matches whatever flex is sending)

Fred

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to