|-
| valign='top' | '''Summary'''
|This function establishes a connection to a remote BaseX server and , creates a new client session. As a result, and returns a session id is returned. The parameter <code>$host</code> is the name of the database server, <code>$host</code> specifies the database host, and <code>$user</code> and <code>$password</code> represent the login data.
|}