UserOnSameNetworkAsServer ( )
Used to tell if the FileMaker Client is on the same network as the FileMaker Server
Average rating: 4.5 (31 votes) Log in to vote
Hal Gumbert - Show more from this author
CampSoftware http://www.campsoftware.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Used to tell if the FileMaker Client is on the same network as the FileMaker Server.
We needed a method to know if the Client was local or remote.
However, this does not account for Users connected via a VPNs as they will have a local IP.
Returns 0 if not on the same network.
Returns >0 if on the same network.
Comments
Jean-Francois, Montréal Nov 16, 2016 |
||
I had a similar calculation to find if local or remote (mainly for FMGo) and it works as the mobile IP is way different, but this solution is not working if someone connect from his own network home that has the same IP chain and 192.168.1 is the most common of them. So one of my staff passes that validation, but is connected remotely. Anyone else find another solution ? Thanks |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.