Closed GoogleCodeExporter closed 9 years ago
You are right that with what currently exists you can already do this manually.
But I also support JSON encoded values so you could set an array or object as a
cookie...seems it fits the bill?
Thanks,
Jim
Original comment by auldrid...@gmail.com
on 10 Nov 2010 at 2:20
I haven't worked too much with JSON; I get being able to set multiple values
easily, but how would it work when trying to get just one value by name? Or,
for that matter, setting one additional value on a cookie that already has
multiples set.
I don't know that it's not fairly easy; like I said, I'm inexperienced with
JSON and can't visualize how it'd work.
Original comment by chris.p....@gmail.com
on 11 Nov 2010 at 1:14
Hi Chris,
I have looked at the link you provided and I don't think I am going to head
down this road. Take a look at the home page of this project in the code
samples and find the area marked JSON for an example of how to work with the
JSON client side.
Server side, You'd need to produce your array or simple object of values and
use a JSON serializer to serialize it to a string to write to your cookie value.
Email me if you have further questions.
Jim
Original comment by auldrid...@gmail.com
on 26 Jan 2011 at 8:00
Original issue reported on code.google.com by
chris.p....@gmail.com
on 9 Feb 2010 at 2:33