BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6

Is there a way of programmatically getting a list of user
with open SAS Web Sessions?

 

I am looking for a way of querying the list of users shown
in the SAS Web Administration Console and close any old session. Programmatically

1 REPLY 1
ronan
Lapis Lazuli | Level 10

It depends.

If your requirement is to terminate "inactive" sessions("old" = "inactive" ?)  then you could simply rely on SAS time-out values : Stored Process or Pooled Workspace sessions are supposed to be closed automatically when the time out limit has been reached (30 minutes by default on 9.2 SAS EBI). However, if you want to kill any SAS web session, either "active" or "inactive" then that's a different matter.

If you have SAS 9.3 or beyond then you could try using Procedure IOMOPERATE to list active user sessions meaning running SAS sessions like Stored Process or Pooled Wk server -  and stop them :

http://support.sas.com/documentation/cdl/en/biasag/62612/HTML/default/n20000intelplatform00srvradm.h...

If you want to terminate SAS Web sessions with no corresponding SAS sessions, then it depends on your implementation : J2EE Application Server like Jboss and/or front-end http Server like Apache could be accessed with different tools to forcibly terminate user sessions according to a set of given rules.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1176 views
  • 0 likes
  • 2 in conversation