[EDIT - I have posted the answer to my question below]
I'm having issues trying to use
$_SESSION in EE.
What I would like to do is save an Amazon cart ID in the
$_SESSION. Working in regular PHP I'm familiar with this:
$_SESSION['cart_id'] = 1234. However when I try to do this in EE I get errors and/or nothing happens.
I thought that maybe what I'm looking for is the cache-access functionality:
So in my class I have this
ee()->session->set_cache('amz_cart', 'id', $value);, and in my view I'm trying to see what returns from this
Nothing returns with this. Can anyone point me in the right direction?