# Why are there 2 sessions with the same session\_name at the same time?

**URL:** <https://devforum.zoom.us/t/why-are-there-2-sessions-with-the-same-session-name-at-the-same-time/130266>\
**Category:** Web\
**Tags:** api, video-sdk\
**Created:** [March 21, 2025, 4:35am UTC](https://devforum.zoom.us/t/why-are-there-2-sessions-with-the-same-session-name-at-the-same-time/130266 "2025-03-21T04:35:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [March 21, 2025, 4:35am UTC](https://devforum.zoom.us/t/why-are-there-2-sessions-with-the-same-session-name-at-the-same-time/130266/1 "2025-03-21T04:35:04Z")

</div>

**Description**  
I used the API `/videosdk/sessions` to retrieve all sessions in progress. However, I encountered a situation where two sessions had the same `session_name`.

### Details:

- While querying active sessions, I found two sessions with the same `session_name`. One session had a `session_key`, while the other did not.

```auto
 {
    id: 'H0aplRVCSP+QlvRxuhXtcw==',
    session_name: '6749784892_1742520674984',
    start_time: '2025-03-21T01:31:36Z',
    end_time: '',
    duration: '',
    user_count: 1,
},
{
    id: 'ACKP4XSJS5uscNbpKsA3mA==',
    session_name: '6749784892_1742520674984',
    start_time: '2025-03-21T01:31:47Z',
    end_time: '',
    duration: '',
    user_count: 1,
    session_key: '6749784892_1742520674984'
  }

```

- After both sessions ended, I queried again and saw that both now had a `session_name` and `session_key`.

```auto
{
    "id": "H0aplRVCSP+QlvRxuhXtcw==",
    "session_name": "6749784892_1742520674984",
    "start_time": "2025-03-21T01:31:36Z",
    "end_time": "2025-03-21T01:42:20Z",
    "duration": "00:10:44",
    "user_count": 1,
    "session_key": "6749784892_1742520674984",
},
{
    "id": "ACKP4XSJS5uscNbpKsA3mA==",
    "session_name": "6749784892_1742520674984",
    "start_time": "2025-03-21T01:31:47Z",
    "end_time": "2025-03-21T01:55:24Z",
    "duration": "00:23:37",
    "user_count": 1,
    "session_key": "6749784892_1742520674984",
}

```

### Questions:

1. Why do two sessions with the same `session_name` exist simultaneously?
2. When there are duplicate `session_name` values, why does one session have a `session_key` while the other does not?

Thanks,  
Phuong

---

<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:** [April 20, 2025, 2:35pm UTC](https://devforum.zoom.us/t/why-are-there-2-sessions-with-the-same-session-name-at-the-same-time/130266/2 "2025-04-20T14:35:13Z")

</div>

Closed on April 20, 2025, 2:35pm UTC

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