I have Web2Py 2.4.2 (source edition) on Windows.

Reading the book, I see that I can store sessions in cache. So, here's how 
it says to do it...

http://web2py.com/books/default/chapter/29/13#Sessions-in-memcache

from gluon.contrib.memdb import MEMDB

session.connect(request,response,db=MEMDB(cache.memcache))

Well, i tried that, but I get an error...

<type 'exceptions.AttributeError'> 'Cache' object has no attribute 
'memcache'

So, how do I store sessions in cache?

-- 

--- 
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.


Reply via email to