[Seaside] Handling errors - staging/production

Philippe Marschall philippe.marschall at gmail.com
Fri Jun 3 05:15:21 UTC 2011

2011/6/2 John Toohey <jt at parspro.com>:
> I see the last exception is thrown because I'm using a
> WAStreamResponse, and its already committed. At this stage I would
> just like to redirect to an error page, and have the user log back in.
> Is there any way to exit the chain, and perform a redirect?

You can't. Once the response it committed the bytes are on the client
(or at least on their way). You can try to send a JavaScript that does
a redirect but that may not work. If you're uncool with this behavior
don't use streaming.


More information about the seaside mailing list