For the latest version of JMP Help, visit JMP.com/help.


Publication date: 11/29/2021

Terminate All CAS Sessions

CAS Terminate Sessions() ends all sessions owned by the current user except for the current session.

CAS Teminate Sessions();

You can also specify the session ID to terminate the specified session.

CAS Terminate Sessions(session ID);

Use Get Session() to get the session ID.

url = "http://myCASserver"; // quoted string
cas = CAS Connect(
	URL( url ),
	Username( "my_username" ), // quoted string
	Prompt( "IfNeeded" )
);
session_id = cas << Get Session;

To terminate the current session, use CAS Disconnect().

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).