I would like to get all values that I stored with session_cache_set() function.
@langelhc:
A workaround for this is to store all your values in a single array (or object), taking advantage of the fact that you can nest your arrays and/or objects.
$data = array( 'subbin1' => array(.......), 'subbin2' => array(.......), // .... ); session_cache_set('all-my-values', $data); ... $data = session_cache_get('all-my-values');
Thank you for your answer, you are right.
Comments
Comment #1
rdeboer@langelhc:
A workaround for this is to store all your values in a single array (or object), taking advantage of the fact that you can nest your arrays and/or objects.
Comment #2
langelhc commentedThank you for your answer, you are right.