Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Test of client IP address

Featured Replies

Hi all,

it seems that the client-ip param in FMS7A XSLT does not work properly.

According to the Custom Web Publishing Guide on p. 56, it should return the IP address of the web client. However, I always get as result the IP address of our web server, and therefore can not use it as a filter.

We have here a double server setup, one server is the database server, the other the web and web publishing engine server. It might be that on a single server (db+wpe+web) the behaviour is correct.

Therefore I have prepared a small test (see attachment), would you be willing to install it either in a Mac OS X or a Windows setting, and report the results here?

If it's a bug, I can send a feedback via FSA to FileMaker.

Many thanks for your help,

Martin

test.zip

hallo Martin,

the web server is sending the request to the db server, so the behaviour of the db server is indeed correct. The web server works like a proxy.

Tip:

Use an invisible form field and a (php/perl/javascript/..) script which puts $ENV{'REMOTE_ADDR'} in there on your WEB server.

  • Author

No, no, <xsl:param name="client-ip"/> is a parameter set by the web publishing engine and should reflect the IP address of the web client, not the web server. It's the replacement for the former [FMP-ClientAddress] and [FMP-ClientIP] CDML tags in FM6.

I know that I can filter IP accesses directly in my Apache configuration file or by .htaccess . However, if FileMaker documents <xsl:param name="client-ip"/> giving the client address, it should do so.

Martin

  • 8 months later...

Hi Martin,

Sorry to use your thread. Have you made any progress with is client ip issue? It seems that I have the same problem.

  • Author

It seems to work on single CPU machines, or when the second CPU is turned off.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.