Hi,
I'm (still) trying to store posted formvalues into a cookie.
Problem is the form-elements have names like 'product[0]',
'product[0][category]' and 'product[0][type]'.

When storing this into an cookie:

foreach ($_POST as $key => $value) {
setcookie($key, serialize($value), time() + 600);
}

$key has value 'product' and $value turns out to be an Array containing
'category' and 'type' with their values. Requesting cookie '$product[0]'
returns the product-name (as expected). However, requesting
'$product[0][category]' returns an empty string... Why?

Thanks in advance!