100% with you. That's why I wrote it isn't "really" possible. It is
possible, just under limited conditions. IIRC, one could also use the COMET
chunking technique to faciliate this - though that would likely cause some
client side issues. If you're doing a direct browser-to-server connection,
I would disagree with this statement, but only narrowly, once you start talking
about proxies and reverse proxies and things of that nature, it becomes much
harder because the client isn’t directly connected anymore. In most of todays
environments you are right that it is really hard to know if
Just to clarify the above comment, this concept isn't really possible with
any internet technology in general, not just Pyramid.
On Thursday, February 17, 2022 at 8:35:25 PM UTC-5 Bert JW Regeer wrote:
> No, this is not possible *.
>
> * Except under some very narrow circumstances, but none
No, this is not possible *.
* Except under some very narrow circumstances, but none that are easy to use or
directly supported in Pyramid
> On Feb 17, 2022, at 13:12, Andrew Free wrote:
>
> Is there a way to subscribe to any events of a dropped/lost connection?
>
> For example, if the user
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