i am using gae-utilities, specifically the session storage features.
it is working well, though i am facing one issue:
i am unable to set key-value pairs in the session object where the
value is a primitive (not a Model).
for example, if i have a session like self.sess, and i specify:
self.sess['logged_in'] = True;
True is not a model, it is a boolean.
when i look in the datastore for app engine, the value stored for the
key name logged_in is <null>. however, the other keys which have
corresponding models as their value are stored properly.
is there a way to support storage of primitive types in the session
dictionary?
The data isn't sha1 encrypted... that would be way too heavy. The data
is pickled and stored as a BlobProperty. The only thing I can think of
is that for some reason boolean properties are not getting pickled
properly.
I'd suggest filing an issue with some example code on the github
project and see if anyone is interested in picking it up. Currently,
I'm too heavily involved in other projects to invest any time into
this library, as I'm not using appengine any longer.