Skip to content

Commit

Permalink
Change format for the warning (#492)
Browse files Browse the repository at this point in the history
* Change format for the warning

* Change format for the warning
  • Loading branch information
Jako authored Feb 12, 2024
1 parent 3c4f2cb commit eac9f0b
Showing 1 changed file with 5 additions and 4 deletions.
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.

0 comments on commit eac9f0b

Please sign in to comment.