Hello all!
I'm really digging the new php4 sessions, but I'm having a problem. I'm doing a contracted site that allows users to store grocery checklists. I use a big 3d array to store items since there are so many categories. Example
$itemarray[2][36][540] = 1
It works well except one thing. When I first submit the page full of checkboxes, which init's the array and registers it in the session, it works right. The problem is no attempts at modifying the array work. Example. Lets say I set in the first page load, when the variable is first registered in the session:
itemarray[1][2][14] = 1
and on the next page load I do
itemarray[1][2][14] = 0
itemarray[2][8][32] = 1
Itemarray still only shows [1][2][14] equal to one. I have the release version of php 4. I've tried both calling session_register("itemarray") on every page load and only calling it if session_is_registered("itemarray") fails. Both have the same results.
Matt