I can't judge how helpful or appropriate this is given your description but
since you mentioned JavaScript... You can grab the hostname out of the
browser at window.location.hostname

Alfred

On Mon, Apr 13, 2009 at 13:06, Larry Kleinman <larry@xxxxxxxxxxxxxxxxx>wrote:



Our iSeries has two different IP addresses, both of which enable users to
access the same HTTP server. There are times when we want to know which of
the addresses a request came in on. I see that the environment variable
HTTP_HOST has that information, but, other than the Net.Data function
@DTW_rGETENV, I can't find a way to access it. Is there some way in
either
RPG or JavaScript to do this? (Specifically, we have a web-faced
application that needs to know this.)


Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.