Is there a way to subscribe to any events of a dropped/lost connection? For example, if the user closed the browser window in the middle of a request. I am using pyramid_tm and having a hard time finding a method for this. I just want to run some code based on the request object state in the event that the response doesn't make it back to the client and the transaction does not complete. I've looked into the exception_view_config and this doesn't appear to help. Would a tween be the best way to handle this? Thanks.
-- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/cab03e28-c370-4dcb-917a-7b5d36e7a86fn%40googlegroups.com.
