A session initiates when a user either: 1. Opens your app in the foreground 2. Views a page or screen where no session is active (e.g., their previous session has timed out). By default, a session ends (times out) after 30 minutes of user inactivity. There is no limit to how long a session can last. Below mentioned are the steps to edit the session timeout settings for your property website in your GA4 account.