The **Session Timeout & Inactivity Guard** is a highly configurable, enterprise-ready component built natively for OutSystems 11. It provides an elegant security layer for applications that handle sensitive data (e.g., Banking, Healthcare, Internal Portals) by monitoring user idling and gracefully managing session lifetimes.
Unlike traditional timeout scripts, this component is fully optimized for O11 client-side mechanics, ensuring zero performance overhead and absolute protection against browser memory leaks.
---
## ?? Key Features
* **Multi-Event Idle Tracking:** Monitors mouse movements, keyboard presses, clicks, and mobile touch interactions (`touchstart`).
* **O11 Architecture Compliant:** Uses smart asynchronous parameter passing to bypass the platform's client-action output limitations.
* **Dual Session Extension Mechanisms:**
1. *Native:* Pings the local OutSystems server automatically to refresh session cookies.
2. *Custom:* Integrates an optional background `Fetch` URL gateway for lightweight REST infrastructure endpoints.
* **Memory-Leak Safe:** Explicitly clears background intervals and window DOM listeners on the page `OnDestroy` cycle.
* **Fully Customizable UI:** Styled with standard OutSystems UI CSS tokens—it adapts instantly to your brand colors out of the box.