Have a need to retain an associative array generated in response to a user request for use in another (highly related but technically independent) view. (The array in this case holds recent comment ids of interest per discussion.) Albeit only essential information, this is too big for temp vars or cookies.
This array will be regenerated (and re-stored) based on another mechanism so the timeliness is already addressed. Just need a way to store and retrieve.
Note: I could store this in the db (since that is of course global to all sessions) as a JSON stream but I would rather communicate the array in-memory to avoid db activity and further processing (JSON). Caching might be an option but that seems to be a misuse of cache.
--
TiG
updated by @tig: 02/11/18 08:58:28AM