<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi, <div><br></div><div>I am Zeeshan. I am going to use nginx_http_push_module for one of my webservices. It&#39;s a live visitors feed service, which tells the visitors of a site who else is visiting the site at the same time in real time. So the model is that every url is a channel and visitors on a page subscribes to the channel for that page and start getting the feed whenever a new visitor arrives. So far it&#39;s simple and i have figured out how to do it using nginx_http_push_module. </div>
<div><br></div><div>What I am unable to figure out is that visitors close the page/browser to leave the channel. How to know that a subscriber has left the channel and broadcast his departure to all the subscribers?</div>
<div><br></div><div>Any help would be really appreciated.</div><div><br></div><div>Thanks,</div><div>Zeeshan</div></span>