# Session timeout setting implemented for the community discourse application

**URL:** <https://meta.discourse.org/t/session-timeout-setting-implemented-for-the-community-discourse-application/326327>\
**Category:** Support\
**Created:** [September 13, 2024, 8:53am UTC](https://meta.discourse.org/t/session-timeout-setting-implemented-for-the-community-discourse-application/326327 "2024-09-13T08:53:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [September 13, 2024, 9:35am UTC](https://meta.discourse.org/t/session-timeout-setting-implemented-for-the-community-discourse-application/326327/5 "2024-09-13T09:35:20Z")

</div>

No I can’t but AI claims this:

> **Changing User Logout Time in Discourse
AI**
>
> **Jagster:**
> 
> Can I change the time when system forces an user logout?
> 
> **gpt-4o:**
> 
> > **Searching site settings**
> >
> > Found 0 results for 'session expiration'
> 
> > **Searching**
> >
> > Searching for: time when system forces a user logout
> 
> > **Reading**
> >
> > Read: [How to automatically log out of the account when the user is not online](https://meta.discourse.org/t/how-to-automatically-log-out-of-the-account-when-the-user-is-not-online/285502)
> 
> > **Look up site setting context**
> >
> > Reading context for: maximum\_session\_age
> 
> Yes, you can change the time when the system forces a user to log out by adjusting the `maximum_session_age` setting. This setting determines the maximum number of hours a user remains logged in since their last visit.
> 
> ### Steps to Change the `maximum_session_age` Setting
> 
> 1. **Access the Admin Settings:**
> 
> 2. **Search for the Setting:**
> 
> 3. **Adjust the Setting:**
> 
> 4. **Save Changes:**
> 
> ### Example:
> 
> If you want to set the maximum session age to 30 hours, just change the value to 30.
> 
> ### Relevant Source:
> 
> You can find further details in the topic on [How to automatically log out of the account when the user is not online](https://meta.discourse.org/t/how-to-automatically-log-out-of-the-account-when-the-user-is-not-online/285502).
> 
> For more technical details, you can refer to the [`maximum_session_age` site setting context](https://meta.discourse.org/t/how-to-automatically-log-out-of-the-account-when-the-user-is-not-online/285502/2).
> 
> If you need any more assistance or have further questions, feel free to ask!

---

_[View the full topic](https://meta.discourse.org/t/session-timeout-setting-implemented-for-the-community-discourse-application/326327)._
