The
CloseSession function can be used to end a session started with the
OpenSession function.
Starting with BlueZone version 3.3, the
CloseSession method works with BlueZone Web-to-Host when using the embedded client mode.
Note
The embedded BlueZone session must first be connected to the program or script by using the
Connect method.
OpenSession 0, 2, "System2.Zmd", 30, 1
ResultCode = EMConnect( "A" )
If ( ResultCode = 0 ) Then
' interact with host
End If
CloseSession 0, 1