You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Joshua Chamas <jo...@chamas.com> on 2001/09/14 21:21:24 UTC
Updating $r->connection->aborted before $r->print() ?
Hey,
In my own experience it seems that I can only get
$r->connection->aborted updated if I first do a $r->print().
Is there any way to get aborted to update without
$r->print?
The scenario is that developer would like to know the
aborted status before any part of the script runs, where
browser requests might queue up on a busy server for 3+ seconds
before the scripts run, hit the STOP button & reload.
Unfortunately, to have to print() or send headers before
an aborted check means that the headers have already
been sent out, which is limiting.
Thanks,
Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051