How can I store and use some more complex structure, as U can see
I will like to use struct['level1']['level2'][$level3] ... I mean
in way that I can register it just once, set type once etc... i.e.
session_register("basket");
set_type($HTTP_SESSION_VARS['basket'], "someSTRUCT");
unset($HTTP_SESSION_VARS['basket']['ids'][$id]);
unset($HTTP_SESSION_VARS['basket']['prices'][$id]);
....
OR just this :
unset($HTTP_SESSION_VARS['basket'][$id]);
If I can register some structure the structure will be
basket=>id=>type(price,good,amount) (HASH=>ARRAY=>HASH)
INSTEAD of
basket=>type(price,good,amount)=>id (HASH=>HASH=>ARRAY)
Why is not possible the Session handling to set this type automaticaly!!!