Hi luckyboy,

To make your sessions store in the database simply add session.connect
(request, response, db=db) to your db.py model.

Follow the the link for an example of using memcached
http://mdp.cti.depaul.edu/AlterEgo/default/show/69

On Mar 3, 6:35 pm, luckyboy <luckyas...@gmail.com> wrote:
> Hi all, I'm new to web2py (coming from a Rails background). Is there a
> way to set the "session store" for your application to something other
> than file storage? I came across some threads in the group, and I
> could tell that you can use DB for session storage, but I couldn't
> find anything in the documentation relating to a "session store"
> variable that can be set (which is the way it's done in Rails)
> Also is it possible to set the session store to something like
> memcached ?
--~--~---------~--~----~------------~-------~--~----~
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