Call the Open method to start a session. The Open method starts the session and triggers the OnStartup event for the session. If the SessionType property is set to stRemote, then DBISAM will attempt to connect to the database server specified by the RemoteHost or RemoteAddressand RemotePort or RemoteService properties. If the session can successfully connect to the database server, it will then automatically login to the server using the RemoteUser and RemotePasword properties.
Calling the Close method closes any open datasets, and disconnects active database connections. If the SessionType property is set to stRemote, then the connection to the database server is closed and the user is logged out.