Hi there, I've noticed a small variation between two parts of web2py.
The memcache client MemcacheClient in gluon.contrib.memcache.__init__.py supports the ability to control the default timeout via the default_time_expire parameter. Whereas the version that supports GAE does not. It would be great if this could be changed as at the moment when you follow the example suggested example: http://web2py.com/book/default/chapter/13#Sessions-in-memcache from gluon.contrib.gae_memcache import MemcacheClient from gluon.contrib.memdb import MEMDB cache.memcache = MemcacheClient(request) cache.ram = cache.disk = cache.memcache session.connect(request,response, db = MEMDB(cache.memcache.client)) You can't change the session timeout from the default of 300. All that's required is to change gluon.contrib.gae_memcache to something like: class MemcacheClient(object): client = Client() def __init__(self, request, default_time_expire = 300): self.request = request self.default_time_expire = default_time_expire def __call__( self, key, f, time_expire=self.default_time_expire, ): key = '%s/%s' % (self.request.application, key) dt = time_expire value = None obj = self.client.get(key) Hope that's possible. Thanks in advance, Matt -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.