It should be done in such a way that without reloading application on server, I can get Server IP Address.
In my post, I have mentioned two three functions that gives info of the machine without reloading the application.
1.ComputerName() - Returns a string containing the name of the computer as returned by the operating system.
2.OSUser() - Returns a string containing the name of the current user as returned by the operating system.
But unfortuntly there is no system function available to solve my purpose... hence I am finding altenate solution.
It was too delayed reply from my side.. but yes, I found something to cheer for after this solution.
Thanks Sasi !! This might help someone.
What I exactly looking for was, my client has two separate servers for Production & UAT. (Normal Case)
Both the servers has qlikview server installed on it. Its a constant support environment where we do development as per user requirement & send them UAT Server URL for data validation. & once UAT is done we update (upload) the application on Production server.
we gave users the direct accesspoint URL of application.
There were some applications that interconnected to each other & user can navigate it through button click. (URL was placed into button action -Open Qlikview Document)
So,If I could get server IP address at front end, then I could set it into a variable, & without changing a single line of code, application will work fine on both the servers.
PS. My requirement was completed since we applied simple approach of writing QlikView Application Name
instead of writing complete URL. (for this,both the applications should be in same folder.)