Focal Point
[SOLVED] Get Host Info

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2647077716

March 13, 2012, 07:52 AM
berkh1dj
[SOLVED] Get Host Info
Is there a build in fex method of getting the host (ipaddress) info of the server the application is running on?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
March 13, 2012, 05:10 PM
Waz
Is that the IP address the WebFOCUS server is on, or the Web Client, it its multi tier ?

If its the WebFOCUS server, the I would suggest an OS call.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

March 14, 2012, 08:44 AM
GamP
Do a search on 'httpserv' in this forum, it will give you the desired answer, I think.


GamP

- Using AS 8.2.01 on Windows 7 - IE11.
in Focus since 1988
March 21, 2012, 07:51 AM
berkh1dj
I ended up creating a JavaScript function and using:

var host = location.host;

This worked.

Thanks!


WebFOCUS 7.6
Windows, All Outputs
March 21, 2012, 04:33 PM
Waz
Please update your original post in this thread, and add [SOLVED] to the title.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code