Functions Reference

Table Of Contents
Get functions
F
ILEMAKER FUNCTIONS REFERENCE 119
Get(ConnectionState)
Purpose
Returns a number representing the security state of the network connection for the current file.
Format
Get(ConnectionState)
Parameters
None
Data type returned
number
Originated in
FileMaker Pro 12.0
Description
Returns a value indicating whether the FileMaker Pro or FileMaker Go connection to the host uses
SSL, including whether the Server name matches the Server-side certificate (providing the highest
security). Returns:
0 for no network connection for the current file.
1 for a non-secured connection (FileMaker Server with SSL disabled, or to a FileMaker Pro
host).
2 for a secured connection (SSL) when the server name doesn’t match the certificate
(default FileMaker Server installation).
3 for a secured connection with a fully verified server name in the certificate.
Notes
You do not have to use Get(ConnectionState) to check the security of web published files. In
FileMaker WebDirect, the web browser verifies the SSL connection.
For information on how functions evaluate differently on the host versus the client, search
the FileMaker Knowledge Base available at http://help.filemaker.com
.
Examples
Returns 3 when the Server name matches the name indicated in a Server root certificate obtained
from a trusted authority.