How to limit user sessions in SAS Studio or SAS EG, for example.-We have about 100 users, and I need to impose a session restriction.
Each user will only be able to open three sas studio session sessions.
we don't have grid server our environment
Limiting the number of sessions in SAS Studio can be achieved by changing the config of SAS Studio, the file is located in
and
Have a look at the documentation! You need to restart the sas app server to apply the changes.
Unfortunately there is no easy way to achieve the same in SAS EG. In theory, with xcmd enabled, you could add some code to the script starting the sas session, checking how many session are active for the user and prevent execution of the sas executable. Fortunately i never had to implement this.
i have checked you suggestion but couldn't find any parameter to change the limit for users session.
Check webdms.maxParallelWorkspaces and webdms.maxNumActiveBatchSubmissions
@vedchd wrote:
How to set custom error page if user session limit is exceed in sas studio
New question should be posted in new threads.
There are options to customize login, logout and timeout page, but i never saw an option to provide a page for a custom error. Talking to tech support is recommended.
Since you also have EG, you must tackle this at the workspace server level.
In <sas config root>/SASApp/WorkspaceServer/WorkspaceServer_usermods.sh add code that counts the number of SAS processes running under that user (UNIX ps command), count the results (wc -l), and exit if the number exceeds a given treshold.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.