Syntax for a “cookie dictionary” or “name-value pairs”? Here’s an example of what I need. I have 3 form buttons labeled Bob, Bill, and Betty. I have a cookie named myCookie. With ASP, I can click a button and write:
Response.Cookies(“myCookie”)(“User”)=(“Bob”)
or change it to
Response.Cookies(“myCookie”)(“User”)=(“Bill”)
Still just 1 cookie. How do I do this with JavaScript?