| Overview | Module | Function | Class | I*Tea 3.6.8 Reference Documentation© 2013 PDM&FC |
itea-flush
Flushes buffered output back to the client.
If there is a communication error with client, it will throw an error and interrupt processing of the code.
Once this function is used, any further use of the functions
which modify response headers (
itea-redirect,
itea-redirect-abs,
itea-set-content-type,
itea-set-file-name,
itea-cookie-set-raw, and other which may
depend on these) will not have any effect, as response headers
are only sent in the first flush.
As a direct consequence, if a processing error occurs after
an itea-flush,
I*Tea cannot redirect the client to the error page.
(So, the processing error will be logged, but
the client will receive the output up to the point where
the error is generated, and no further output.)
3.5.6| Overview | Module | Function | Class | ${tea.teadoc.header} |