Hi Sebastian,

Where did you read that?

web2py supports both session and memcache. In fact there is an example
in the scaffonding app.
To enable sessions simply do

    from gluon.contrib.gql import *
    db=GQLDB()
    session.connect(request,response,db)

To enable memcache

    from gluon.contrib.gae_memcache import MemcacheClient
    cache.ram=cache.disk=MemcacheClient()

Then every program/example that uses sessions or cache will work on
gae without additional tweaks. For example:

    def index():
         import time
         if not session.c: session.c=0
         session.c+=1
         return dict(counter=session.c,time=cache.ram('time',lambda:
time.ctime(),5))

Massimo


On Jan 17, 2:11 pm, sebastian <[email protected]> wrote:
> Hi guys,
>
> I'm using app-engine-patch that is a patch for django 1.x for GAE.
>
> I wanted to try web2py but I've read that it doesn't support sessions
> nor cache  under GAE (memcache is a must for GAE apps !). Without
> sessions nor memcache, GAE is not really nice to use !
>
> is any way to use in a convenient way memcache and sessions under
> GAE ?
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
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