Skip to main content

March 14, 2026

Unified Access Gateway Session Flow For Horizon

To help you understand how the session statistics change in a Unified Access Gateway session for the Horizon edge service, a flow of events is described in this topic.

The session flow described here does not include any authentication method configured for Horizon in the Unified Access Gateway Admin UI.

Edge service health check occurs as per the value configured in Monitor Interval, an advanced system configuration setting in the Unified Access Gateway Admin UI.

To see definition about the session statistics mentioned here, see Monitoring Edge Service Session Statistics.

  1. When the Horizon Client sends an XMLAPI request through Unified Access Gateway to the Horizon Connection Server, a new session is created in Unified Access Gateway.

    In the subsequent edge service health check, the session statistics have the following values:

    Session statisticsValues
    Total Sessions1
    Active Sessions0
    Inactive Sessions1
    Failed Login Attempts0
    Session High Water Mark1

    After receiving the response from the Horizon Connection Server, Unified Access Gateway sends the response to the Horizon Client and an authentication prompt is displayed on the end user's device.

  2. At the authentication prompt, the end user's action can vary. Depending on the action, the session statistics have different values.

    1. If an end user's authentication is successful, in the subsequent edge service health check, session statistics have the following values:

      Session statisticsValues
      Total Sessions1
      Active Sessions1
      Inactive Sessions0
      Failed Login Attempts0
      Session High Water Mark1
    2. If an end user submits incorrect credentials for authentication, the change in session statistics depends on the number of login attempts, as allowed by the Horizon Connection Server.

      • If the number of login attempts allowed is more than one, the session remains inactive until the number of login attempts reaches the maximum limit as allowed by the Horizon Connection Server.

        The Failed Login Attempts parameter increases by one for every failed login attempt.

        In the subsequent edge service health check, session statistics have the following values:

        Session statisticsValues
        Total Sessions1
        Active Sessions0
        Inactive Sessions1
        Failed Login Attempts1
        Session High Water Mark1
      • If the number of attempts allowed is only one, then the session is removed.

        Note: When a session is removed, Total Sessions and Inactive Sessions decrease by one.

        In the subsequent edge service health check, session statistics have the following values:

        Session statisticsValues
        Total Sessions0
        Active Sessions0
        Inactive Sessions0
        Failed Login Attempts1
        Session High Water Mark1
    3. If an end user attempts to authenticate after the Authentication Timeout (a system configuration setting, configured in the Unified Access Gateway Admin UI), authentication fails and the session is removed.

      In the subsequent edge service health check, session statistics have the following values:

      Session statisticsValues
      Total Sessions0
      Active Sessions0
      Inactive Sessions0
      Failed Login Attempts1
      Session High Water Mark1
    4. If an end user cancels the authentication prompt, the session is not authenticated and remains in this state until the time from when the session was created exceeds the Authentication Timeout. When the Authentication Timeout is exceeded, the session expires.

      Note: Expired sessions are included as part of Total Sessions until the limit for the total number of sessions is reached. This limit depends on the sizing of the Unified Access Gateway appliance.

      In the subsequent edge service health check, session statistics have the following values:

      Session statisticsValues
      Total Sessions1
      Active Sessions0
      Inactive Sessions1
      Failed Login Attempts0
      Session High Water Mark1
  3. After successful authentication, if Tunnel is enabled in Unified Access Gateway and the Horizon Client is used, a tunnel session is created in Unified Access Gateway.

    In the subsequent edge service health check, session statistics have the following values:

    Session statisticsValues
    Total Sessions1
    Active Sessions1
    Inactive Sessions0
    Failed Login Attempts0
    Session High Water Mark1
    Tunnel Sessions1 Note: If Tunnel is disabled in Unified Access Gateway, then the value is 0.
  4. Depending on the display protocol (PCOIP or Blast) selected by the end user for launching desktops or applications, the corresponding protocol's session statistics are affected.

    For example, if Blast protocol is configured to be used, then in the subsequent edge service health check, session statistics have the following values:

    Session statisticsValues
    Total Sessions1
    Active Sessions1
    Inactive Sessions0
    Failed Login Attempts0
    Session High Water Mark1
    Tunnel Sessions1
    Blast Sessions1
    PCoIP Sessions0
  5. If the end user disconnects the launched desktop or application, then in the subsequent edge service health check, session statistics have the following values:

    Session statisticsValues
    Total Sessions1
    Active Sessions1
    Inactive Sessions0
    Failed Login Attempts0
    Session High Water Mark1
    Tunnel Sessions1
    Blast Sessions0
    PCoIP Sessions0
  6. End-user logout can occur due to various reasons such as user-initiated logout, inactivity after user authentication, or session expiry. When the end user is logged out, in the subsequent edge service health check, session statistics have the following values:

    Session statisticsValues
    Total Sessions0
    Active Sessions0
    Inactive Sessions0
    Failed Login Attempts0
    Session High Water Mark1
    Tunnel Sessions0
    Blast Sessions0
    PCoIP Sessions0

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…