cache_db_session
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
$311 per month—let's make that $500!
Learn moreName: Enable Database Session Cache
Type: Yes/No
Default: No
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.
See Also¶
- [cache_db_session_lifetime]
- cache_db
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
$311 per month—let's make that $500!
Learn more