CloseSession Method
Closes a session.
Syntax
public void closeSession(String name);
Remarks
This method closes the session named Name and removes it from the Sessions collection. If no session with the given Name exists, an error will be thrown.
Any links open on the specified session when this method is called will be automatically closed and removed from the Links collection.