I am not opposing, just asking... isnt this file already too fat?
Why include memcaching on GAE and not ram caching on non-GAE?

Massimo

On Mar 5, 2:48 pm, Markus Gritsch <[email protected]> wrote:
> On Wed, Mar 4, 2009 at 4:35 PM, Markus Gritsch <[email protected]> wrote:
> > On Wed, Mar 4, 2009 at 3:51 PM, Robin B <[email protected]> wrote:
>
> >> I have been using MEMDB to store sessions in memcache since August
> >> 2008:
> >>http://groups.google.com/group/web2py/browse_thread/thread/cd89f11de4...
>
> >> the code is under contrib:
>
> >> from gluon.contrib.memdb import *
> >> from google.appengine.api.memcache import Client
> >> session.connect(request,response,db=MEMDB(Client()))
>
> > Wow!  I didn't know about this.  This should probably be in den
> > scaffolding db.py file.
>
> Please find attached db.py which includes the option to store sessions
> in Memcache.  It also fixes the damage to the comment formatting which
> was done by PythonTidy.py.
>
> This should go into the scaffolding app.
>
> Markus
>
>  db.py
> 5KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to