Oyatel/CometD.NET — Issue #12: Reconnect after each publish??
Author: MrGibbage
Created: 2012-01-14 15:05:26+00:00
State: open

I took the sample code and modified it a bit

https://gist.github.com/1611728.js?file=gistfile1.cs

What I have seen is that if I start this program twice, and connect on each one, and then hit the publish button, both get the published text. But if I hit the publish button again, the only the one that published it will see it. I have to hit connect again, even though the client does still seem to be connected. I have tried adding the connect code to the end of the receiving text code, but that didn't help. I think I need a lesson on how comet works. How am I supposed to be able to keep on sending data back and forth?