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