Is it possible to create a cookie using arrays?
I would like to store a[0]=\'peter\', a[\'1\']=\'esther\', a[\'2\']=\'john\' i
a[0]=\'peter\'
a[\'1\']=\'esther\'
a[\'2\']=\'john\'
Cookies can hold only strings. If you want to simulate an array you need to serialize it and deserialize it.
You could do this with a JSON library.