# application.getServerConcurrentUsers

**URL:** <https://forum.servoy.com/t/application-getserverconcurrentusers/2403>\
**Category:** Classic Servoy\
**Created:** [August 4, 2004, 1:46pm UTC](https://forum.servoy.com/t/application-getserverconcurrentusers/2403 "2004-08-04T13:46:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 4, 2004, 1:46pm UTC](https://forum.servoy.com/t/application-getserverconcurrentusers/2403/1 "2004-08-04T13:46:58Z")

</div>

would this be possible? This should return the number of users currently connected…

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [August 5, 2004, 12:06pm UTC](https://forum.servoy.com/t/application-getserverconcurrentusers/2403/2 "2004-08-05T12:06:06Z")

</div>

is per server usefull? whould per solution be more usefull?

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 5, 2004, 12:18pm UTC](https://forum.servoy.com/t/application-getserverconcurrentusers/2403/3 "2004-08-05T12:18:18Z")

</div>

would both be possible? ![:wink:]( "Wink")

No, actually what I want is this: Servoy has a concurrent user licensing model. For our solutions we will be doing the same. But what if our customer calls Servoy and orders a few more concurrent users?

So I guess what I really need is per solution!

Thank you very much!  
Patrick

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [August 5, 2004, 1:07pm UTC](https://forum.servoy.com/t/application-getserverconcurrentusers/2403/4 "2004-08-05T13:07:47Z")

</div>

Added to planning for Servoy 2.5, in mean time you could build something similar by requesting data from your web server and returning if the client is allowed to start.  
like: plugins.http.getPageData(“[http://mywebserver.com/mayservoyclientstart?company=xxx&solution=yyy](http://mywebserver.com/mayservoyclientstart?company=xxx&solution=yyy)”) and keep client count on server.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 5, 2004, 1:52pm UTC](https://forum.servoy.com/t/application-getserverconcurrentusers/2403/5 "2004-08-05T13:52:40Z")

</div>

What I do now is something like my own “session” table. When you log in, a record is written, when you log out, this record is “cancelled”.

But of course, it’d be much easier if I could ask the server…
