
session_close(++Session)

   close a session for the DBMS

Arguments
   Session             A session handle

Type
   library(dbi)

Description

 This closes a session explicitly, disconnecting from the DBMS server. It 
 takes  effect immediately. Any uncommitted transactional updates are rolled 
 back. Some resources associated with the session are also freed.

 Cursors for this session are not closed by the closing of the session,
 but they will no longer be able to access the database, but will still use
 some resources. It is recommended that cursors be closed before closing
 the session. All resources associated with a session are only freed when
 both the session and all the cursors are closed. 


Exceptions
     5 --- Session is not a session handle

See Also
   session_start / 4, cursor_close / 1
