> In my PerlResponseHandler I check the routine above, > and return Apache::DONE if the user has disconnected, > which saves me the trouble of generating dynamic > content for no reason. I'm just not sure if this is > the right way to do it; for example I wondered if > you need to notify Apache in some way of the > disconnection, and what sort of HTTP status code > should be set.
apache knows before you do if there was a disconnect - it changes all writes to noops, for instance. at least it did in 1.3 and I'm sure 2.0 follows suit. --Geoff