Tag Info

Hot answers tagged


Usually, you can't detect broken connection until you start writing back to user. Otherwise, your process will continue doing its work without noticing connection abort from user side. This post is related even if it talks about PHP. The concept should be the same. There are possible things you can try: Do the time-consuming work in background. When a ...


Warning: this information may be obsolete. See last paragraph. I remember having had the same problem, and solving it with a nph (no parse header) CGI script. Normally, apache collects all the headers from your script, and when finished reading headers, amends them with some standard headers you didn't provide. Which also means, as long as you don't finish ...

Only top voted, non community-wiki answers of a minimum length are eligible