The session is closed after all content is sent from A1. You should find a way to delay the load of the iframe (via Javascript maybe) to make sure that A1 has completed and that A2 can load the new content.
gabriel On Sep 7, 6:04 pm, Phil Moorhouse <moorhouse.p...@gmail.com> wrote: > Hi, I currently have an action (A1) that performs some manipulation of > objects saved in the session, and then loads a view containing an > iframe. > > The iframe loads another action (A2) from the same application which > relies on objects saved to the session in A1. Sometimes, particularly > when accessing remotely, the objects do not seem to be present in the > session and A2 throws a fatal error. > > After some discussion in IRC, it seems like A2 is probably loading the > session before A1 has finished writing to it. This seems counter- > intuitive, but I can't think of any other explanation. > > Is it possible to flush writes to the session from an action (A1) so > that I can be sure the data has been saved? > > This is on a symfony 1.0 site and using sfMemcacheSessionStorage > fromhttp://www.symfony-project.org/plugins/sfMemcachePlugin. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en