What is the relationship between the number returned via api_application.getid and the number I see in the URL when calling the app in the browser?

At the moment, I have an app making a call to this API function but the number returned is completely different to that in the URL.... had thought they would be the same?


asked 05 Aug '15, 02:21

apacheuk's gravatar image

accept rate: 0%

Hi Simon,

This function returns the ID of the current application instance it is being executed in. We usually refer to it as the application session id. The naming of this API function is not particularly great. I guess the reason we simply called the function getID but not the getInstanceID is that virtually all procedures and functions in the api_application package are about the instance of the application that is currently running. So the word "instance" is kind of redundant. API_APPLICATION is not about the meta data of the application but the run time properties of the instance of an application.

Kind Regards,


answered 05 Aug '15, 06:36

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
accept rate: 15%

ah... makes sense.

other than parsing the url is there any way to get the id of the current application as it appears in the URL?


answered 05 Aug '15, 07:07

apacheuk's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 05 Aug '15, 02:21

Seen: 1,453 times

Last updated: 05 Aug '15, 07:07

© Copyright Gerger 2017