How to Configure Session Limits and Timeouts on Forefront Unified Access Gateway Server

Forefront Unified Access Gateway (UAG) is a reverse proxy and VPN solution that provides a number of new features, including support for more devices, secure remote access to corporate resources for employees, business partners, and vendors on both managed and unmanaged PCs and mobile devices. UAG also offers a combination of connectivity options such as reverse proxy, VPN (especially SSL VPN), Direct Access, and Remote Desktop Services. In this article, I will show you how to configure session limits and timeouts on Forefront Unified Access Gateway (UAG) server using Forefront UAG Management.

  • “Inactivity Timeout” in UAG is defined as follows:
    o Login page inactivity: default is 30 seconds.
    o Portal home page inactivity: default is 300 seconds for non-privileged endpoints.
    o Application inactivity: default is 30 minutes.


  • UAG also defines a “Scheduled Timeout” as follows:
    o Privileged: default 60 minutes.
    o Non-privileged: default 1440 minutes.
    o A scheduled timeout occurs whether or not there is any activity.


By this default definition, your site will be logged out after 30 seconds of inactivity, a time frame which some may find to be uncomfortably restrictive. Let’s resolve it then.


  • Open the Forefront UAG Management Program:


  • Under HTTPS Connections node in the UAG form, select the Configure button:


  • In Advanced Trunk Configuration [UAG], select the Session tab.
    o In Session Configuration, adjust Maximum concurrent sessions as desired.
    o In the Default Session Setting, adjust Inactivate session timeout (seconds) as desired:


Remember that, Maximum value of Inactivate session timeout (seconds) is 999999. If you type a number greater than 999999, you will see the warning message pictured below:


As well, the Maximum value of Automatic Scheduled Logoff Timeout is 16666. If you type a number greater than 16666, you will see the following warning message:


After you’ve completed the configuration, you must click the Activate Configuration button to complete the process:


Good luck!

SharePoint Online

The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.

Supports Classic and Modern sites for SharePoint Online/Microsoft 365

Small Business Pricing and Discounts


Top SharePoint Online Products

Experience greater power and savings by bundling our SharePoint apps and cloud parts.

Calendar Plus


Employee Directory Plus

Org Chart Plus

Simple Search


Tree View


On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2016, 2019, 2022 – Classic Pages Only


Top On-Premises Only Products

Experience greater power and savings by bundling our SharePoint apps and web parts.

Calendar Plus

Data Viewer

Password Change

Password Expiration

Password Reset


Our team of Microsoft 365 Technology Consultants helps you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.

Consulting to Streamline Your Department

M365 Plus

Managed Services

Microsoft 365

Consulting to Streamline Your Department

Human Resources

Information Technology

Marketing Campaigns




Our Consultants Have What You Need

Federal Contractors