Hi! We solve this problem with a "comet"-like behavior. (google it: comet js iframe) All long processes in our application done by a virtual form what POSTs the form to a hidden iframe, what receives JS codes with state updates. So the user receives continuosly information about the script workflow. You can restart and stop the process anytime you want via manipulating the iframe src attrib.
We developing this feature for just a few days, but we want to develop it to a widely usable symfony plugin. We just planning how symfony form errors get back to user if any, etc... Best regards, Karoly Marton [HU] On aug. 4, 11:52, Cristian Baciu <[email protected]> wrote: > Hi, > > is there a way to output to the browser the progress of an action . > > Something like : > > public function slowAction(){ > .... > $this->createResponse("Step 1"); > slowFunction1(); > $this->createResponse("Step 2"); > slowFunction2(); > > return .... > > } > > Regards, > Cristian -- 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 developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
