Firstly, I have a prety standard php installation on my machine, PHP 4.2.3, my remote server is running PHP 4.2.2 (PHP Info
Ok, now to my problem. I have a shopping cart which is stored in a session variable as an array. Each product that is selected is stored in something like $_SESSION['prod']['prod_id'] and $_SESSION['prod']['quantity'] etc. where the  in this case is incrimenting as to store various products. I am adding products with a script like this:
$prod_array=array('prod_id'=>$prod_id, 'option'=>$option, 'quantity'=>$quantity);
Then for a product list I simply loop out the array to access each product's info with: $_SESSION['prod'][$n]['prod_id'], etc.
Now this seems to work fine on my localhost but refuses to work on the remote server. When I add a product I see that product alone in the cart but when i return to the cart it has gone. When I count() the array there is always only one result.
Seems to me like the session variables are simply not being stored. I have this at the top of every page:
Any Ideas on what settings could be causing the problem or what changes I could make to get this working?
Thanks a lot for your help.