Storing session information
I am working on a plugin which builds an array and I want to keep this in their session (or, ideally, for X minutes).
calling session_start() and then $_SESSION['my_var'] = [my array] seems to not exactly have the desired effect and it is causing the page to be forceably reloaded through the Cache-Control header.
What is the best way to store this information so it doesn't have to be queried/built on every page load? I'm new to vB modification programming...
|