Product Documentation

Binding Session Policies and Setting the Priority

After you configure session policies for StoreFront or App Controller integration, you can bind the policies to a user, group, virtual server, or globally. Session polices are applied as a hierarchy in the following order:

  • Users
  • Groups
  • Virtual servers
  • Globally

If you configure two or more session policies for Receiver for Windows and Receiver for Mac, Receiver for Web, and the Citrix Gateway Plug-in, you bind the policies and then you need to set the priority number for each policy.

Numerical priority takes precedence regardless of the level at which the policy is bound. If a policy that is bound globally has a priority number of one and another policy bound to a user has a priority number of two, the global policy takes precedence. A lower priority number gives the policy a higher precedence.

The Program Neighborhood Agent session policy receives the lowest priority number and the Citrix Gateway Plug-in session policy receives the highest priority number. Citrix recommends setting the session policies in the following order to ensure that any change to the User-Agent header does not affect user connections:

  • Program Neighborhood Agent session policy
  • Receiver for Web
  • Receiver for Windows and Receiver for Mac
  • Citrix Gateway Plug-in

For more information about binding session policies, see Binding Session Policies.

To set the priority of a session policy

  1. In the configuration utility, on the Home tab, click Create New Citrix Gateway.
  2. In the details pane, select a virtual server and then click Open.
  3. In the configure NetScaler Gateway Virtual Server dialog box, click the Policies tab and then click Session.
  4. Next to the session policy, under Priority, enter the priority number and then click OK.

Binding Session Policies and Setting the Priority