Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change format for the warning #493

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions en/building-sites/settings/anonymous_sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ description: "If disabled, only authenticated users will have access to a PHP se

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.
> **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.
Loading