When the options Enable Session Reliability and Seconds to Keep Sessions Active are enabled for XenApp site at the deployment where Access Gateway Standard appliance is working as ICA proxy, Session Reliability timeout does not work as per customer expectation because of the keep-alive packet sent from the Access Gateway Standard appliance.
This behavior is by design. You cannot enforce Access Gateway Standard appliance not to send the keep-alive packet to the XenApp site and adjust the interval of sending the keep-alive packet.
This symptom is viewed when completing the step at the following deployment.
Citrix Receiver for Android: 3.1.170, 3.1.176
Access Gateway: 5.0.4
Web Interface: 5.4.2
XenApp: 5.0 (Windows Server 2003 R2 x64)
Launch the published application from the Receiver for Android and confirm if the active XenApp session is created by using the Citrix Access Management Console.
Disable the network on the Android device.
Wait for 180 seconds.
Verify the Citrix Access Management Console again, if there is a corresponding XenApp session remaining in the active state.
180 seconds is specified as the default value of the Seconds to Keep Sessions Active. However, in this scenario the XenApp session does not change to the disconnected state until about over 10 minutes.
When the Access Gateway Standard appliance is working as ICA proxy, it sends the keep-alive packet to 2598 port periodically to monitor the 2598 port availability, as the result of this the status of XenApp session does not change to disconnected.