Hi all, I have a controller action that takes a while to perform, since it does some heavy data processing to create analysis of data sets. I would like to be able to update the user as to the progress of the action, but I am having trouble.
Currently, I have the long running controller action updating the beaker session object with its progress, and some client-side ajax to fetch the status from the session. The problem I am running into is that the session object does not appear to be updated until the end of the request, so none of the updates by the long running controller action get seen by the ajax call. I looked in the beaker documentation and tried switching all my calls from session.save() to session.persist() to force the session to immediately save to the back-end, but it still doesnt work properly. Maybe I am going about this all wrong, but any help would be greatly appreciated. -Charlie -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
