First off, I'm not all that familiar with cookies but I know how they work. I've seen quite a few different tutorials with plain PHP code but I'm looking for a solid example of how to store arrays in a cookie using the symfony syntax:
$this->getResponse()->setCookie('myCookie', $data);
You can't just pass in an array since it expects a string. Is the only way to do it to serialize an array first?
Bir tanımlama veri depolama sırasında başka seçenekler var mı?