session_enabled
Last updated Apr 7th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moresession_enabled¶
Name: If sessions for the context the setting is added should be enabled or not Type: Yes/No Default: Yes Available In: 2.2.1+
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 sessions should be disabled. Setting it to "No" stops MODX from writing session entries to the database (and storing session cookies) and can make a site without required front-end sessions faster.
If you disable sessions the preview function from the manager will no longer work (as you don't have a session anymore that allows you to preview unpublished resources). This is fixed in the develop branch for 2.3 though.
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more