On Mon, May 14, 2012 at 1:47 AM, Evgeny Shvidky <evgeny@xxxxxxxxxxx> wrote: > Hi, > > Thank you for a quick answer. > Your suggestion is interesting but it doesn't meet exactly my needs. > The problem that this callback will be called after every HTTP session even if my module sent response to a user. > Can I register a callback function only for "unexpected" user close request (before my module responded)? No, but you can remember how successful your handler was on the last request that it saw if you hook the end of each request or the end of the connection. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx