views:

180

answers:

1

I would like to store a cookie object with multiple values associated with various keys. Does anyone know if this is possible?

+1  A: 

Hmm, you could serialize your object using JSON and then store the JSON.

psychotik
Is there an obvious / easy way of doing that?
Matrym
jQuery's serialize only seems to do forms http://api.jquery.com/serialize/
alex
http://www.json.org/json_parse.js
psychotik
Thank you. I didn't know json parse existed :D
Matrym