From the UBB.threads 7.5.9 Changelog:
"LIBS/HTML.INC- The maximum Cookie Lifetime was loosened-up a bit, to 2592000 (30 days)"
SOURCE: https://www.ubbcentral.com/forums/ubbthreads.php/topics/254570

Originally Posted by mmem700
Code
admin/loginas.php # Line 64.
If the admin has not logged in within 7 days or within the defined cookie setting (which ever is the lesser), they are asked to log in again. Security.

Originally Posted by mmem700
Code
install/install.php # Sets default value. Don't know if it resets existing setting.
At the point, this script is CREATING and POPULATING the configuration file for a new install.
You dont even have a configuration file yet. This is the script which gathers all the "FIRST RUN" defaults for your freshly installed forum.

Originally Posted by mmem700
Code
install/createtable.php # Line 2581
At the point, the script is CREATING and POPULATING the default-user settings in the database for a new install.
This is the script which literally is creating the database for your forum.

Originally Posted by mmem700
Code
libs/html.inc.php # Line 1502
This sets a default cookie expiration maximum of 30 days. That means if the setting within the control panel is beyond/outside of 30 days, it is corrected to just 30 days. If there is no value is set, we will use 7 days. Which is fair and reasonable.

We are not asking you to change your password every 30 days. We are asking that you login at least once every 30 days.
And that is what's hard-coded.



Originally Posted by mmem700
Code
scripts/changebasic.inc.php # Line 642
This line tells only the current cookie of the current member to expire within 7 days or within the defined cookie setting (which ever is the lesser) only when the user changes something and submits that change on their Account Profile page, such as password, email address, forum profile, etc. But if they log out and then back in again, their cookie gets reset to using the forum default setting, which I've detailed above.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com