2

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

1

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

2 Comments

Is there an obvious / easy way of doing that?
Thank you. I didn't know json parse existed :D

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.