From 652b8b8649b6e202c9c5d03090f0a66dd50e817c Mon Sep 17 00:00:00 2001 From: Thomas Jakobi Date: Mon, 12 Feb 2024 18:11:01 +0100 Subject: [PATCH 1/3] Use as context setting only --- en/building-sites/settings/anonymous_sessions.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/en/building-sites/settings/anonymous_sessions.md b/en/building-sites/settings/anonymous_sessions.md index 577b59c25..4235296cb 100644 --- a/en/building-sites/settings/anonymous_sessions.md +++ b/en/building-sites/settings/anonymous_sessions.md @@ -8,4 +8,11 @@ description: "If disabled, only authenticated users will have access to a PHP se **Default**: Yes **Available In**: Revolution 2.5.0+ -If disabled, only authenticated users will have access to a PHP session. This can reduce overhead for anonymous users and the load they impose on a MODX site if they do not need access to a unique session. If `session_enabled` is false, this setting has no effect as sessions would never be available. \ No newline at end of file +If disabled, only authenticated users will have access to a PHP session. This can reduce overhead for anonymous users and the load they impose on a MODX site if they do not need access to a unique session. If `session_enabled` is false, this setting has no effect as sessions would never be available. + +!!! danger "Use as context setting only" + Only use this as a context setting, if you add this to the main system settings and set it to No you will lock yourself out of the manager! + +This setting has to be added manually to the context settings when anonymous sessions should be disabled. Setting it to "No" stops MODX from writing session entries of anonymous users to the database (and storing session cookies) and can make a site without required front-end sessions faster. + +If session_enabled is false, this setting has no effect as sessions would never be available. From 2a31bbfda94a5ade2086a11cdb744d23eecd491d Mon Sep 17 00:00:00 2001 From: Thomas Jakobi Date: Mon, 12 Feb 2024 21:27:57 +0100 Subject: [PATCH 2/3] Use as context setting only --- en/building-sites/settings/anonymous_sessions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/building-sites/settings/anonymous_sessions.md b/en/building-sites/settings/anonymous_sessions.md index 4235296cb..6feaac664 100644 --- a/en/building-sites/settings/anonymous_sessions.md +++ b/en/building-sites/settings/anonymous_sessions.md @@ -13,6 +13,6 @@ If disabled, only authenticated users will have access to a PHP session. This ca !!! danger "Use as context setting only" Only use this as a context setting, if you add this to the main system settings and set it to No you will lock yourself out of the manager! -This setting has to be added manually to the context settings when anonymous sessions should be disabled. Setting it to "No" stops MODX from writing session entries of anonymous users to the database (and storing session cookies) and can make a site without required front-end sessions faster. + This setting has to be added manually to the context settings when anonymous sessions should be disabled. Setting it to "No" stops MODX from writing session entries of anonymous users to the database (and storing session cookies) and can make a site without required front-end sessions faster. -If session_enabled is false, this setting has no effect as sessions would never be available. + If session_enabled is false, this setting has no effect as sessions would never be available. From 3b31a7e6994fa6c25676a5b2b7e46ce71491cb04 Mon Sep 17 00:00:00 2001 From: Thomas Jakobi Date: Mon, 12 Feb 2024 21:31:24 +0100 Subject: [PATCH 3/3] Use as context setting only --- en/building-sites/settings/anonymous_sessions.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/en/building-sites/settings/anonymous_sessions.md b/en/building-sites/settings/anonymous_sessions.md index 6feaac664..419cb1031 100644 --- a/en/building-sites/settings/anonymous_sessions.md +++ b/en/building-sites/settings/anonymous_sessions.md @@ -14,5 +14,3 @@ If disabled, only authenticated users will have access to a PHP session. This ca Only use this as a context setting, if you add this to the main system settings and set it to No you will lock yourself out of the manager! This setting has to be added manually to the context settings when anonymous sessions should be disabled. Setting it to "No" stops MODX from writing session entries of anonymous users to the database (and storing session cookies) and can make a site without required front-end sessions faster. - - If session_enabled is false, this setting has no effect as sessions would never be available.