[CB 4.2] Client Variables to Database

Hi guys,

Im looking to save ClientStorage variables into database, any code sample or docs that you might know?

Xerrano

Thanks

Are you using acf or Lucee?

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057

Hi Luis,

Running on Lucee

Thank you

Hi Xerrano,

Sorry for the long delay but was at the conference.

So I would not encourage Client variables due to the verbosity and chatter they create to store and retrieve using JDBC calls. I would recommend using the client storage capabilities in Lucee to distribute to a distributed caching engine like Couchbase or Redis. We have an extension for this as well https://www.ortussolutions.com/products/couchbase-lucee and will distribute client, session and even application scope if needed.

We have seen major performance updates and stability when using a distributed cache instead of a traditional RDBMS