I\'m trying to encode an object in a Python script and set it as a cookie so I can read it with client-side JavaScript.
I\'ve run into problems every way I\'ve tried
not sure a cookie is the best way of doing this? see the getting started guide for info rendering data to the client