for now you should be able to do in like this:

from gluon.contrib.memcache import MemcacheClient
cache.memcache=MemcacheClient([.....]) ### [...] is a list of memcache
IPs
session=cache.memcache(response.session_id,lambda:{},1e8)
def custom_commit(response,session):
     cache.memcache(response.session_id,lambda:session,-1)
     SQLDB.close_all_instances(SQLDB.commit)
response._custom_commit=lambda response=response,session=session:
custom_commit(response,session)
session.forget()

Tiy can try with cache.ram or cache.disk first

On Mar 4, 12:31 am, luckyboy <luckyas...@gmail.com> wrote:
> Cool, can't wait..
>
> On Mar 3, 10:16 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > No yet but very soon. Perhaps tonight?
>
> > Massimo
>
> > On Mar 3, 9:10 pm, luckyboy <luckyas...@gmail.com> wrote:
>
> > > Was never able to find a clear answer.. And if not, are there plans in
> > > the (soon) coming releases for this ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to