|
-- -- [ Picked text/plain from multipart/alternative ] Does request.getRemoteAddr( ) or request.getRemoteHost( ) do the job? |---------+----------------------------> | | P. | | | Goovaerts@Clipper| | | .Be | | | Sent by: java400-| | | l-admin@midrange.| | | com | | | | | | | | | 03/05/02 08:40 AM| | | Please respond to| | | java400-l | | | | |---------+----------------------------> >----------------------------------------------------------------------------------------------------------------------| | | | To: java400-l@midrange.com | | cc: | | Subject: How to check if users is calling page from Intranet or Internet | | | | | >----------------------------------------------------------------------------------------------------------------------| This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] I have a link to a webpage which works when accessed from the Internet but doesn't when accessed from our Intranet. Problem seems to be the URL which needs to be linked to the correct IP-adress. From the Intranet we need to link it to 10.0.0.1 whereas when used from the Internet it is another number. I know we can put a list to choose from but then it's a bit confusing for our users which doesn't care what the difference between internet and extranet is... Is there some way to trace if page is accessed from the internet of from the Intranet when specific link is clicked ? Patrick Goovaerts ITC/Clipper Support nv _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. -- -- [ graycol.gif of type image/gif deleted ] -- [ ecblank.gif of type image/gif deleted ] --
As an Amazon Associate we earn from qualifying purchases.
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.