This article describes how to limit one session per user on NetScaler Gateway.
For achieving the above use case (one session per user), administrators can define the IP address pool option as Nospillover. With this setting, when a user attempts to login while there is already a session (with IIP assigned) for this user from another device, a transfer login page appears. This page allows users to replace their existing NetScaler Gateway session with a new session. Below are the instructions for configuring the same. Note that for the "Transfer Login" option to appear, you must also set "Use Mapped IP" to NS.
II. Select the virtual server for which you want the client choices to be disabled and click on edit.
III. Scroll down to policies section and click on Session Policy.
IV. Select the bound policy and click on the Edit drop-down and select Edit Profile.
V. Select Network Configuration tab, check the Advanced Settings check-box, and apply these 2 settings:
1. Select the Override Global check-box for the Mapped IP drop-down and set it to NS (it needs to be selected although the ‘NOSPILLOVER’ option is for us to not use the mapped IP address).
2. Select the Override Global check-box, as NetScaler and select NOSPILLOVER from the Intranet IP drop-down menu and click on OK.
II. Select the Pencil icon next to Profile.
III. Similar to step A.V above.
The session profile now has been modified.
II. Run the following command
set vpn sessionaction <sessionname> -useMIP NS -useIIP NOSPILLOVER