# How to avoid duplicate participants in the session

**URL:** <https://devforum.zoom.us/t/how-to-avoid-duplicate-participants-in-the-session/71063>\
**Category:** Web\
**Created:** [June 24, 2022, 12:38pm UTC](https://devforum.zoom.us/t/how-to-avoid-duplicate-participants-in-the-session/71063 "2022-06-24T12:38:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shoaib](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shoaib/32/28580_2.png) [@shoaib](https://devforum.zoom.us/u/shoaib)\
**Post date:** [June 24, 2022, 12:38pm UTC](https://devforum.zoom.us/t/how-to-avoid-duplicate-participants-in-the-session/71063/1 "2022-06-24T12:38:35Z")

</div>

hey @tommy and @vic.yang ,

We still noticed this issue [Duplicate participants on reconnection](https://devforum.zoom.us/t/duplicate-participants-on-reconnection/68045) of duplicate participant in the session when their connection gets lost.  
It was one of the most reported issue by our users and its still not fixed.  
Is there any way to avoid this issue from happening as users don’t know that those duplicate participants will disappear after few minutes and end up complaining us about the issue.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 28, 2022, 4:40pm UTC](https://devforum.zoom.us/t/how-to-avoid-duplicate-participants-in-the-session/71063/2 "2022-06-28T16:40:52Z")

</div>

Hey @shoaib ,

Thanks for your feedback here. Changing the reconnection logic would be a long term consideration as even our Zoom Client App/s use the same logic.

> [@Duplicate participants on reconnection](https://devforum.zoom.us/t/duplicate-participants-on-reconnection/68045/2):
>
> Hey @shoaib Thanks for your feedback. It’s similar to the scenario I mentioned in this thread [How to handle internet disconnection properly - #14 by vic.yang](https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018/14). The manually rejoined user is treated as a new participant, and the duplicate participant will disappear within 2 minutes. Thanks Vic

> [@How to handle internet disconnection properly](https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018/14):
>
> Hey @shoaib The state:'Fail',reason:'connection error') return value indicates the video sdk cannot reach any available servers. It usually occurs when the network is disconnected. And for why others can still see the disconnected user in the session, our server has a hearbeat detection mechanism, when the disconnection exceeds two minutes, the user will be shown as leaving(disappeared in the user list). We do this so that others don’t see you rejoining the session due to a short-term network…

If there is anything we can do to help you better detect a disconnection so you can remove or hide the user while they are in the “ghost” state, please let us know.

-Tommy

---

<div class="post-metadata">

**Author:** ![shoaib](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shoaib/32/28580_2.png) [@shoaib](https://devforum.zoom.us/u/shoaib)\
**Post date:** [June 28, 2022, 4:42pm UTC](https://devforum.zoom.us/t/how-to-avoid-duplicate-participants-in-the-session/71063/3 "2022-06-28T16:42:37Z")

</div>

hey @tommy ,

> [@tommy](#):
>
> If there is anything we can do to help you better detect a disconnection so you can remove or hide the user while they are in the “ghost” state, please let us know.

Yes please, that will be really helpful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 29, 2022, 2:43am UTC](https://devforum.zoom.us/t/how-to-avoid-duplicate-participants-in-the-session/71063/4 "2022-07-29T02:43:34Z")

</div>

Closed on July 29, 2022, 2:43am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
