# Extend login time or eliminate auto log out altogether

**URL:** <https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528>\
**Category:** AllStarLink\
**Created:** [April 20, 2021, 1:43am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528 "2021-04-20T01:43:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [April 20, 2021, 1:43am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/1 "2021-04-20T01:43:13Z")

</div>

Simple question and hopefully a simple answer!

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [April 20, 2021, 3:14am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/2 "2021-04-20T03:14:24Z")

</div>

Edit the file allmon.js and change line 27 `expires: 7` from 7 to however many days you like.

 ![Screen Shot 2021-04-19 at 8.11.15 PM](https://community.allstarlink.org/uploads/default/original/2X/6/66628e702ba45f562a63cdfb6a4b5370058361f4.png)

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [April 20, 2021, 5:41am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/3 "2021-04-20T05:41:01Z")

</div>

Sorry, i should have mentioned this is Supermon. There is no allmon.js file

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [April 20, 2021, 1:55pm UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/4 "2021-04-20T13:55:50Z")

</div>

I don’t know supermon but maybe this will help. This is from the ASL beta.

 ![Screen Shot 2021-04-20 at 6.52.20 AM](https://community.allstarlink.org/uploads/default/original/2X/5/502cc8bbdf4bf6dc8663875e55ecc135ef9653f4.png)

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [April 21, 2021, 12:52am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/5 "2021-04-21T00:52:39Z")

</div>

Nope, that’s cookies not login

I will investigate, thanks

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [April 21, 2021, 4:22am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/6 "2021-04-21T04:22:08Z")

</div>

Best I could do. Cookies are the login on Allmon.

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [April 23, 2021, 11:27pm UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/7 "2021-04-23T23:27:12Z")

</div>

Fair enough. thanks for the shot

---

<div class="post-metadata">

**Author:** ![KD5KNR](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kd5knr/32/3975_2.png) [@KD5KNR](https://community.allstarlink.org/u/KD5KNR)\
**Post date:** [August 15, 2022, 12:49am UTC](https://community.allstarlink.org/t/extend-login-time-or-eliminate-auto-log-out-altogether/18528/8 "2022-08-15T00:49:04Z")

</div>

For Supermon, check the value of you "session.gc\_maxlifetime= " setting in /etc/php/7.x/apache2/php.ini. The default value is 1440 seconds (24 minutes), which was driving me crazy. For more information, refer to [What is the default lifetime of a session?](https://stackoverflow.com/questions/156712/what-is-the-default-lifetime-of-a-session):
