Matrym
Matrym

Reputation: 17053

Can jquery.cookie handle objects as a value?

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

Upvotes: 2

Views: 968

Answers (1)

psychotik
psychotik

Reputation: 39019

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

Upvotes: 1

Related Questions