in reply to Storing an array in a cookie...

Please remember that cookies can disappear at any time (read the spec, they'll be tossed out if space is exceeded), and that they are browser specific, so your application will lose all of its data if you switch to a different box or you happen to visit some other fat-cookie sites. Bad news.

You should read my ranting article about how to use cookies properly.

-- Randal L. Schwartz, Perl hacker