Basically, I am trying to put in place a generic error handler - so I need
to redirect to that handler if there is an exception. The handler needs to
work in mod_perl and CGI modes, and also needs to work correctly if we have
already started flushing output (e.g. a progress meter that, in the middle
of processing runs into some horrible exception).
So, while normally I would want to issue a "302" header, in this case I
really need to emit some JS that will redirect.... but I don't want to do
that all the time 'cause its gross. So, to make a long request shorter: Is
there a way I can portably tell if output has been flushed in the middle of
a request?
--
Shane McCarron
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users