Last updated Mar 19th, 2021 | 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.
$292 per month—let's make that $500!Learn more
Name: Enable Database Session Cache
Available In: Revolution 2.1.1+
When enabled, and cache_db is enabled, database sessions will be cached in the database result-set cache. This means data written to the
$_SESSION (e.g. by plugins or snippets) will get cached.
Warning! If you visit a 3rd party site (e.g. while making an online payment), and it redirects back to your site without the same page headers (i.e. without the session ID), then this could cause MODX to regenerate a session ID and you could thus lose access to your session data.