CLOSE_SESSION

CAS Tags

The CLOSE_SESSION function disconnects a network session previously established via OPEN_SESSION. It is safe to call this function with a previously disconnected, or errored session.  The instance parameter passed to CAS.Send will determine which CAS instance will have it's session closed.


XML Interface:
This tag is not used in the CAS XML Interface.  For more information, see CAS XML Communications in the CAS XML Interface.

  Type Max Size Multiple Allowed
Function N/A No

Example:
function CloseSession( CAS_Instance )
  {
  var Tl = CAS.New();
  CAS.AddTag(Tl,"CLOSE_SESSION","");
  Tl = CAS.Send(CAS_Instance,Tl);
  CAS.Delete(Tl);
  }

See Also:
LOGON, OPEN_SESSION, LOGOFF, CAS Open, CAS Send, CAS Close