Focal Point
BID Issue: IP address passed to HTML launch page

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

July 30, 2007, 04:54 PM
<Jax>
BID Issue: IP address passed to HTML launch page
We need a way to pass a client-specific IP address as an &variable to an HTML launch page based on a the user ID and the BID &WORP_MPV. At the outset we anticipate a decode but are not sure where to place this code:

1.) focexec on the server
2.) focexec in an MRE domain
3.) edasprof or other configuration file

Test and Production: WF 7.1.3
I-Series box - DB2 applications

Thanks everyone's help & humor - as always!
July 31, 2007, 03:03 AM
Tony A
Jax,

If you want the IP address that the User is using then add
<set> REMOTE_ADDR(pass)
to your site.wfs file via the Client Server console under Configuration / Custom Settings.

On the other hand, if you want to assign a value and do not want it to be the same as that used in logging in then I would probably look at server side processing or maybe even a read of the gpv.xml or mpv.xml files in the WORP/Conf directory on the Client.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
August 30, 2007, 04:19 PM
<Jax>
Tony - thanks!

It appears tht using Server side processing is the way to go but how would you write the &IP_ADDRESS decode?

And, please, we welcome anybody's response!