Jump to main content Jump to doc navigation

Name: 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

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

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Lefthandmedia
  • Murray Wood
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$301 per month—let's make that $500!

Learn more