# When Host ends the session it is not getting end for participant in Video SDK UIToolKit Web

**URL:** <https://devforum.zoom.us/t/when-host-ends-the-session-it-is-not-getting-end-for-participant-in-video-sdk-uitoolkit-web/121646>\
**Category:** UI ToolKit\
**Tags:** video-sdk\
**Created:** [November 28, 2024, 1:57pm UTC](https://devforum.zoom.us/t/when-host-ends-the-session-it-is-not-getting-end-for-participant-in-video-sdk-uitoolkit-web/121646 "2024-11-28T13:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [November 28, 2024, 1:57pm UTC](https://devforum.zoom.us/t/when-host-ends-the-session-it-is-not-getting-end-for-participant-in-video-sdk-uitoolkit-web/121646/1 "2024-11-28T13:57:30Z")

</div>

I’m currently working on Angular web application and we have integrated Video SDK UI Toolkit Web with version 1.10.8-1 ( **“@zoom/videosdk-ui-toolkit”: “^1.10.8-1”** ) .

As mentioned, we are facing an issue where 2 users are in a session, one is host and another is participant, So whenever host **end** the session we are expecting that session of participant also get end and it participant should get out of session automatically, but it is not happening all the time.

In our case it works mostly in first attempt and fails from Second onwards.  
From second attempt of ending session, Host get out of session but participant is remain still in session and if host try to join the session we can see 3 users that time 1 is Host user twice with (Host) mentioned in bracket and other is host as user and 3rd is participant.

It will be more helpful @tommy, if you look into this as soon as possible.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [December 2, 2024, 2:43pm UTC](https://devforum.zoom.us/t/when-host-ends-the-session-it-is-not-getting-end-for-participant-in-video-sdk-uitoolkit-web/121646/2 "2024-12-02T14:43:03Z")

</div>

Hi @vishwajeetbhosale, when you’re joining a session as a `host` with the UIToolkit you’ll see two options: `Leave` & `End`:

 ![Screenshot 2024-12-02 at 8.11.42 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/f/1f6bf867373918b4cbc21266b376431d9ab76d19.png)

The `End` option ends the session for all users.

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [December 2, 2024, 3:17pm UTC](https://devforum.zoom.us/t/when-host-ends-the-session-it-is-not-getting-end-for-participant-in-video-sdk-uitoolkit-web/121646/3 "2024-12-02T15:17:12Z")

</div>

Hi @ekaansh.zoom, thanks for the response.

Yes I’m aware of how End button works.

I hope you understand my question, if any difficulty to understand it le me know. Still I’ll try to explain again.

Consider there is a on going session and A is host and B is participant, and now A starts the session and B joined it and A ended the session (By clicking the END button) and B is kickout from session this is working fine.  
**A started the same session again** (2nd time) and B also joined and A ended the session by clicking on **END** button and A get out of session, but B is still in session (Expectation is B’s session will also gets end but not happened).  
After above, **A tried to join the same session** (3rd time) and he joined it but now there are 3 users in session, A (Host), A participant and B participant.

So my question is why this is happening?

---

<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:** [February 10, 2025, 7:55pm UTC](https://devforum.zoom.us/t/when-host-ends-the-session-it-is-not-getting-end-for-participant-in-video-sdk-uitoolkit-web/121646/4 "2025-02-10T19:55:04Z")

</div>

Hey @vishwajeetbhosale ,

I am unable to reproduce this issue. Try upgrading to the latest version and seeing if that resolves it.

> **[Version 2.1.0-1 - Zoom Developers](https://developers.zoom.us/changelog/ui-toolkit/web/2.1.0-1/)**
>
> This update introduces several new features, including livestreaming, cloud recording, live transcription, PSTN/SIP call capabilities, session feedback, access to the Video SDK Client, and file sharing in chat. The Video SDK has been upgraded to...

Demo: [Zoom Video SDK UI toolkit](https://videosdk.dev/uitoolkit/)

Best,  
Tommy
