Gateway

Save user settings for clientless access through Web Interface

When users log on and log off from the Web Interface by using clientless access, NetScaler Gateway does not forward the client-consumed cookie set from the previous session, even if the cookies are persistent when users log on multiple times. You can use the GUI or the CLI to bind cookies to a pattern set of client cookies to preserve Web Interface settings between sessions.

To bind cookies for Web Interface persistence by using the configuration utility

  1. In the configuration utility, on the Configuration tab, expand NetScaler Gateway > Policies and then click Clientless Access.
  2. In the right pane, on the Policies tab, click Add.
  3. In the Create Clientless Access Policy dialog box, in Name, type a name for the policy.
  4. Next to Profile, click New.
  5. In Name, type a name for the profile.
  6. On the Client Cookies tab, in Client Cookies, select ns_cvpn_default_client_cookies and then click Modify.
  7. In the Configure Pattern Set dialog box, under Specify Pattern, in Pattern, enter the following parameters:
    • WIUser and then click Add.
    • WINGDevice and then click Add.
    • WINGSession and then click Add.
  8. Click OK and then click Create.
  9. In the Create Clientless Access Policy dialog box, in Expression, type true, click Create and then click Close.

To bind cookies for Web Interface persistence by using the command line

  1. Log on to the NetScaler Gateway command line by using a Secure Shell (SSH) connection, such as PuTTY.
  2. At the command prompt, type shell.
  3. At the command prompt, enter the following commands:

    bind policy patset ns_cvpn_default_client_cookies WIUser
    bind policy patset ns_cvpn_default_client_cookies WINGDevice
    bind policy patset ns_cvpn_default_client_cookies WINGSession
    <!--NeedCopy-->
    
  4. Press Enter.
Save user settings for clientless access through Web Interface