Session lingering is an complementary option to session prelanuch and in most XenApp implementations both these option will be used together to provide the best user experience and to make access to published resources fast and easy. Session lingering similar to session prelaunch was reintroduced in XenApp and XenDesktop 7.6
Introduction
Key considerations:
The following conditions must be considered when session lingering is going to be used:
- Session lingering is configured per Delivery Group
- The Delivery Group must support applications. If you configure delivery group to deliver only desktops, prelaunch and linger screens will not be available in Edit Delivery Group wizard.
- Session lingering is available only for the machines must be running a VDA for Server OS, minimum version 7.6.
How to configure ?
To be able to utilize session lingering the following configuration task must be completed:
- Configure StoreFront 2.6 for Pass Through Authentication – to configure StoreFront for pass-through authentication follow the steps below:
- Open Citrix StoreFront console
- In the left pane select Authentication
- In the right pane (Action pane) click Add/Remove Method
- Select Domain pass-through and Accept settings
- Verify domain pass-through is added and enabled if as it is shown in Figure 1
- Open Citrix Studio
- In the left pane select Delivery Groups
- In the middle pane select the delivery group you want to modify
- In the right pane (Action pane) click Edit Delivery Group
- On the left side select Application Lingering and configure required settings.
- You can configure 2 behaviors:
- If lingering session will be created – by default lingering is disabled.
- How long lingering session remain active – there are two methods to specify how long an unused session remains active when the user does not start an application: a configured timeout and server load thresholds. You can configure all of them; the event that occurs first will cause the unused session to end.
Timeout – you can configure the time interval 1-99 days, 1-2376 hours, or 1-142,560 minutes.
Thresholds – you can configure two thresholds: the average load on all machines in the Delivery Group exceeds a specified percentage (1-99%) and the load on any machine in the Delivery Group exceeds a specified percentage (1-99%). When a threshold is exceeded, the sessions that have been in lingering state for the longest time are ended, sessions are ended one-by-one at minute intervals until the load falls below the threshold. (While the threshold is exceeded, no new lingering sessions are started.)
The example is shown in Figure 2 below 
How to verify if session lingering is working ?
In order to verify if session lingering is configured you can do either:




Hi Andrzej
We use Citrix Version 7.6.0.5029.
If lingering and prelaunch are off, no one will be logged off from Studio for days, they only will be disconnected. This circumstance results in troubles with our Application-Licenses. So I’ve activated both with 5 min delay.
But nothing changes, except the details on the delivery Groups Screen.
Do I have to restart Storefront-Server.
Thanks Roland
Does session linger work with Published Desktops?
The fact that session linger isn’t an option on Delivery Groups that ONLY support Desktops (no apps) suggests it doesn’t work. Is this so ?
Hello,
I have XenApp 6.5 configured to linger sessions for 15 minutes and then disconnect for 90 minutes as a license is not being consumed during the disconnect time. In XenApp 7.6, I am unable to configure a session to disconnect after lingering for 15 minutes. Have you noticed this or found a way around it?
Thanks
Scott