# Limit 2 users per session

**URL:** <https://openvidu.discourse.group/t/limit-2-users-per-session/4401>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [January 25, 2023, 9:44am UTC](https://openvidu.discourse.group/t/limit-2-users-per-session/4401 "2023-01-25T09:44:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nusrathhm](https://avatars.discourse-cdn.com/v4/letter/n/d78d45/32.png) [@nusrathhm](https://openvidu.discourse.group/u/nusrathhm)\
**Post date:** [January 25, 2023, 9:44am UTC](https://openvidu.discourse.group/t/limit-2-users-per-session/4401/1 "2023-01-25T09:44:25Z")

</div>

Sorry I’m new to it. Is this functionality already done I have seen some topic related to it but the version was 2.14 and since there has been many releases after that so I’m wondering if it’s done. If it is done can you please point out the direction to take. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [January 25, 2023, 11:04am UTC](https://openvidu.discourse.group/t/limit-2-users-per-session/4401/2 "2023-01-25T11:04:29Z")

</div>

Hi @nusrathhm

Basically you have to add this kind of logic in your application client (or application server). If there are 2 users in the current session, do nothing.
