http://coldfusion.com logo
#box-products
Title
# box-products
e

elpete

09/21/2022, 5:19 PM
So if your
rc
scope has
email
,
password
, and
rememberMe
, those are the options you can pass to
persist
.
n

nolanerck

09/21/2022, 8:34 PM
thank you, sir. 🙂
Tho for the record, the docs on that page only mention "request collection". There's no mentio of 'persist' doing anything with PRC data.
e

elpete

09/21/2022, 8:49 PM
You can pass any struct to the
persistStruct
argument.
n

nolanerck

09/21/2022, 8:51 PM
I believe you, but this is the only mention of it on the doc page, which implies (to my team anyway) that "rc" is the only struct getting checked. My 2 cents. @persist What request collection keys to persist in flash ram @persistStruct A structure key-value pairs to persist in flash ram
e

elpete

09/21/2022, 9:05 PM
You are correct.
persist
only checks the
rc
(request collection). If you want to pass keys from anywhere else (including the
prc
) create a struct to pass to
persistStruct
that has the keys and values you are interested in.