Firstly, thank you very much for gaesessions. I have been using it in
Muntjac and it works great!
However, one issue that I have been having is that my sessions often
exceed 1Mb in size, at which point memcache raises a ValueError "Values
may not be more than 1000000 bytes in length...". May I ask what the
best way to handle hitting this limit is?
The errors occur when save() is called in my_start_response, so
presumably the idea is to subclass SessionMiddleware and override the
__call__ method. Would that be your recommendation?
Thanks again,
Richard
Hello,
Firstly, thank you very much for gaesessions. I have been using it in Muntjac and it works great!
http://www.muntiacus.org/
However, one issue that I have been having is that my sessions often exceed 1Mb in size, at which point memcache raises a ValueError "Values may not be more than 1000000 bytes in length...". May I ask what the best way to handle hitting this limit is?
The errors occur when save() is called in my_start_response, so presumably the idea is to subclass SessionMiddleware and override the __call__ method. Would that be your recommendation?
Thanks again,
Richard