On Mon, Jan 5, 2009 at 5:02 PM, Alva Yi <[email protected]> wrote:
> I don't think it's a good idea to provide more session storage as a patch
> unless chaned in the upstream, you can just use a module instead, and it's
> seems some error in the patch! Here is the module, which provides a Memery
> Storage and BSDDB storage

The ShelfStore can be used both as memory store and as bsddb store.

Memory store can be created by passing a dict as argument to the ShelfStore.

store = ShelfStore({})

and shelve module uses bsddb by default. Please see shelve module
documentation for more details.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to