发送响应并继续执行直到下一个响应


PHP - Send response and continue execution until next response

是否有办法立即向客户端发送响应(等待页面)并继续执行直到发送最终响应?

我正在使用Symfony2 (PHP).

只能通过在html (http://webmaster.iu.edu/tools-and-guides/maintenance/redirect-meta-refresh.phtml)中添加刷新元标记或使用javascript。

编辑:重定向与javascript见如何重定向到另一个网页在javascript/jQuery?