Skip to content

Commit 20b89fb

Browse files
committed
Reflect new session config override changes.
1 parent fcae906 commit 20b89fb

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

docs/control-panel/access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ How long a user stays logged into the control panel is determined by two factors
2323

2424
***Session Length***
2525

26-
Session Time to Logout (TTL) refers to how long a user stays logged into the control panel after logging in. By default, after 1 hour of inactivity, administrators will be logged out of the control panel and required to log back in with their username and password. The default TTL length can be overriden by the [cpan_session_length](general/system-configuration-overrides.md#cpan_session_length) setting.
26+
Session Time to Logout (TTL) refers to how long a user stays logged into the control panel after logging in. By default, after 1 hour of inactivity, administrators will be logged out of the control panel and required to log back in with their username and password. The default TTL length can be overriden by the [cp_session_length](general/system-configuration-overrides.md#cp_session_length) setting.
2727

2828
If control panel sessions are set to use cookies only, the 'Remember me' login option will allow the session cookie to persist for 2 weeks. This may be overriden using the [remember.php configuration file](config/config-files.md#remember_me).
2929

docs/general/system-configuration-overrides.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,16 @@ Example Usage:
856856

857857
$config['cookie_samesite'] = 'Strict';
858858

859+
### `cp_session_length`
860+
861+
Set TTL for admin sessions.
862+
863+
| Value | Description |
864+
| ------- | ------------------------------------------------- |
865+
| integer | Session TTL in seconds (default is 3600 - 1 hour) |
866+
867+
NOTE: **Note:** An idle state may still trigger the [Idle Check Modal](control-panel/access.md) regardless of the session length.
868+
859869
### `cp_session_type`
860870

861871
Set the method for session handling in the Control Panel.
@@ -874,16 +884,6 @@ Example Usage:
874884

875885
**Also found in CP:** `Settings --> Security & Privacy`: [Control Panel Session Type](control-panel/settings/security-privacy.md#cp-session-type)
876886

877-
### `cpan_session_length`
878-
879-
Set TTL for admin sessions.
880-
881-
| Value | Description |
882-
| ------- | ------------------------------------------------- |
883-
| integer | Session TTL in seconds (default is 3600 - 1 hour) |
884-
885-
NOTE: **Note:** An idle state may still trigger the [Idle Check Modal](control-panel/access.md) regardless of the session length.
886-
887887
### `cp_url`
888888

889889
Set the full URL to your Control Panel.
@@ -3160,14 +3160,6 @@ Example Usage:
31603160

31613161
$config['use_newrelic'] = 'y';
31623162

3163-
### user_session_length
3164-
3165-
Set TTL for user sessions.
3166-
3167-
| Value | Description |
3168-
| ------- | -------------------------------------------------- |
3169-
| integer | Session TTL in seconds (default is 7200 - 2 hours) |
3170-
31713163
### `webmaster_email`
31723164

31733165
Set the site's return email address for auto-generated emails.
@@ -3196,6 +3188,15 @@ Example Usage:
31963188

31973189
**Also found in CP:** `Settings --> Outgoing Email`: [Webmaster or site name for auto-generated emails](control-panel/settings/email.md#from-name)
31983190

3191+
### website_session_length
3192+
3193+
Set TTL for user sessions.
3194+
3195+
| Value | Description |
3196+
| ------- | -------------------------------------------------- |
3197+
| integer | Session TTL in seconds (default is 7200 - 2 hours) |
3198+
3199+
31993200
### `website_session_type`
32003201

32013202
Specify how sessions are handled on the front-end of the site.

0 commit comments

Comments
 (0)