If I was you, I'd look into using sessions
instead of storing an array into a cookie.
It's a lot more secure, and cuts down on
your transfer times.
For PHP v3, check out PHPLib.
For PHP v4, check out the session functions.
I've used PHPLib to sucessfully store an array in a session before.
Hope this helps!
Mark.