# Problem getting Headless-Client ID

**URL:** <https://forum.servoy.com/t/problem-getting-headless-client-id/18387>\
**Category:** Classic Servoy\
**Created:** [March 9, 2015, 11:41am UTC](https://forum.servoy.com/t/problem-getting-headless-client-id/18387 "2015-03-09T11:41:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefbrt](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@stefbrt](https://forum.servoy.com/u/stefbrt)\
**Post date:** [March 9, 2015, 11:41am UTC](https://forum.servoy.com/t/problem-getting-headless-client-id/18387/1 "2015-03-09T11:41:18Z")

</div>

Hi all

How is it possible to get Headless-ClientID of an Running Headless Client startet from the Application-Server on Start-Up?

Regards  
Stef

---

<div class="post-metadata">

**Author:** ![Marco\_R](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Marco\_R](https://forum.servoy.com/u/Marco_R)\
**Post date:** [March 11, 2015, 9:05am UTC](https://forum.servoy.com/t/problem-getting-headless-client-id/18387/2 "2015-03-11T09:05:32Z")

</div>

Hi Stefan,  
I’ve faced this problem one year ago. The only  
way I’ve found to get the right headless client ID, is to launch another headless client from the first one  
and to save the ID extracted from the object returned.  
You can obtain also the headless client id from the server but the id returned is not the one  
You need to control the headless client (to run a specific function for example). Now I’m out of office to provide an example.  
Hope this Help

Marco
